Falcon_Connector_WordPress::__construct PHP Метод

__construct() публичный Метод

public __construct ( $handler )
    public function __construct($handler)
    {
        $this->handler = $handler;
        $this->add_notify_action('publish_post', array($this, 'notify_on_publish'), 10, 2);
        $this->add_notify_action('wp_insert_comment', array($this, 'notify_on_reply'), 10, 2);
        $this->add_notify_action('comment_approve_comment', array($this, 'notify_on_reply'), 10, 2);
        add_action('falcon.reply.insert', array($this, 'handle_insert'), 20, 2);
        add_action('falcon.manager.profile_fields', array($this, 'output_settings'));
        add_action('falcon.manager.save_profile_fields', array($this, 'save_profile_settings'), 10, 2);
        add_action('falcon.manager.network_profile_fields', array($this, 'network_notification_settings'), 10, 2);
        add_action('falcon.manager.save_network_profile_fields', array($this, 'save_profile_settings'), 10, 3);
    }