Automattic\WooCommerce\Internal\Admin\Logging

PageController::init_hooksprivateWC 1.0

Add callbacks to hooks.

Method of the class: PageController{}

No Hooks.

Returns

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->init_hooks(): void;

PageController::init_hooks() code WC 10.3.6

private function init_hooks(): void {
	add_action( 'load-woocommerce_page_wc-status', array( $this, 'maybe_do_logs_tab_action' ), 2 );

	add_action( 'wc_logs_load_tab', array( $this, 'setup_screen_options' ) );
	add_action( 'wc_logs_load_tab', array( $this, 'handle_list_table_bulk_actions' ) );
	add_action( 'wc_logs_load_tab', array( $this, 'notices' ) );
}