Automattic\WooCommerce\Blocks\Patterns
AIPatterns::__construct()
Constructor for the class.
Метод класса: AIPatterns{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$AIPatterns = new AIPatterns(); $AIPatterns->__construct();
Код AIPatterns::__construct() AIPatterns:: construct WC 9.3.3
public function __construct() { add_action( 'init', array( $this, 'register_patterns_ai_data_post_type' ) ); add_action( 'update_option_woo_ai_describe_store_description', array( $this, 'schedule_on_option_update' ), 10, 2 ); add_action( 'update_option_woo_ai_describe_store_description', array( $this, 'update_ai_connection_allowed_option' ), 10, 2 ); add_action( 'upgrader_process_complete', array( $this, 'schedule_on_plugin_update' ), 10, 2 ); add_action( 'woocommerce_update_patterns_content', array( $this, 'update_patterns_content' ) ); }