Brainstorm_Update_Astra_Addon::__construct()
Constructor
Description
Source
File: class-brainstorm-update-astra-addon.php
public function __construct() {
self::version_check();
add_action( 'init', array( $this, 'load' ), 999 );
add_filter( 'bsf_display_product_activation_notice_astra', '__return_false' );
add_filter( 'bsf_get_license_message_astra-addon', array( $this, 'license_message_astra_addon' ), 10, 2 );
add_filter( 'bsf_skip_braisntorm_menu', array( $this, 'skip_menu' ) );
add_filter( 'bsf_skip_author_registration', array( $this, 'skip_menu' ) );
add_filter( 'bsf_registration_page_url_astra-addon', array( $this, 'get_registration_page_url' ) );
add_filter( 'bsf_extract_product_id', array( $this, 'astra_theme_add_to_products_list' ), 20, 2 );
add_filter( 'bsf_enable_product_autoupdates_astra', array( $this, 'enable_astra_beta_updates' ) );
add_filter( 'bsf_allow_beta_updates_astra', array( $this, 'enable_beta_updates' ) );
add_filter( 'bsf_allow_beta_updates_astra-addon', array( $this, 'enable_beta_updates' ) );
}
Expand full source code Collapse full source code View on Trac