woocommerce_system_status_tool_executed
Fires after a WooCommerce system status tool has been executed.
Использование
add_action( 'woocommerce_system_status_tool_executed', 'wp_kama_woocommerce_system_status_tool_executed_action' ); /** * Function for `woocommerce_system_status_tool_executed` action-hook. * * @param array $tool Details about the tool that has been executed. * * @return void */ function wp_kama_woocommerce_system_status_tool_executed_action( $tool ){ // action... }
- $tool(массив)
- Details about the tool that has been executed.
Где вызывается хук
woocommerce_system_status_tool_executed
woocommerce/includes/admin/class-wc-admin-status.php 73
do_action( 'woocommerce_system_status_tool_executed', $tool );