Automattic\WooCommerce\Internal\Admin
CategoryLookup::init
Init hooks.
Метод класса: CategoryLookup{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$CategoryLookup = new CategoryLookup(); $CategoryLookup->init();
Код CategoryLookup::init() CategoryLookup::init WC 10.3.6
public function init() {
add_action( 'generate_category_lookup_table', array( $this, 'regenerate' ) );
add_action( 'edit_product_cat', array( $this, 'before_edit' ), 99 );
add_action( 'edited_product_cat', array( $this, 'on_edit' ), 99 );
add_action( 'created_product_cat', array( $this, 'on_create' ), 99 );
add_action( 'init', array( $this, 'define_category_lookup_tables_in_wpdb' ) );
}