woocommerce_settings_page_init хук-событиеWC 1.0

Использование

add_action( 'woocommerce_settings_page_init', 'wp_kama_woocommerce_settings_page_init_action' );

/**
 * Function for `woocommerce_settings_page_init` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_settings_page_init_action(){

	// action...
}

Где вызывается хук

WC_Admin_Menus::settings_page_init()
woocommerce_settings_page_init
woocommerce/includes/admin/class-wc-admin-menus.php 121
do_action( 'woocommerce_settings_page_init' );

Где используется хук в WooCommerce

woocommerce/includes/admin/class-wc-admin-api-keys.php 21
add_action( 'woocommerce_settings_page_init', array( $this, 'screen_option' ) );
woocommerce/includes/admin/class-wc-admin-webhooks.php 21
add_action( 'woocommerce_settings_page_init', array( $this, 'screen_option' ) );
woocommerce/includes/tracks/events/class-wc-settings-tracking.php 33
add_action( 'woocommerce_settings_page_init', array( $this, 'track_settings_page_view' ) );