/** * Constructor */ public function __construct() { parent::__construct(); add_action('bbp_theme_after_topic_form_subscriptions', array($this, 'output_checkbox'), 10); add_action('bbp_theme_after_reply_form_subscription', array($this, 'output_checkbox'), 10); add_action('bbp_theme_anonymous_form_extras_bottom', array($this, 'output_checkbox'), 10); add_action('bbp_new_topic', array($this, 'subscribe_from_bbpress_new_topic'), 10, 4); add_action('bbp_new_reply', array($this, 'subscribe_from_bbpress_new_reply'), 10, 5); }
public function __construct() { parent::__construct(); add_action('signup_extra_fields', array($this, 'output_checkbox'), 20); add_action('signup_blogform', array($this, 'add_multisite_hidden_checkbox'), 20); add_action('wpmu_activate_blog', array($this, 'on_multisite_blog_signup'), 20, 5); add_action('wpmu_activate_user', array($this, 'on_multisite_user_signup'), 20, 3); add_filter('add_signup_meta', array($this, 'add_multisite_usermeta')); }
public function __construct() { parent::__construct(); add_action('bp_before_registration_submit_buttons', array($this, 'output_checkbox'), 20); add_action('bp_core_signup_user', array($this, 'subscribe_from_buddypress'), 10, 4); }
public function __construct() { parent::__construct(); add_action('register_form', array($this, 'output_checkbox'), 20); add_action('user_register', array($this, 'subscribe_from_registration'), 90, 1); }