woocommerce_rest_insert_system_status_tool, $tool, $request
woocommerce_rest_insert_system_status_tool, $tool, $request
Appears in: woocommerce.11.0.0
Hook Type: action
Displaying hooks found in version: woocommerce.11.0.0do_action('woocommerce_rest_insert_system_status_tool, $tool, $request') is found 1 times:
- /includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php line 408
* * @param array $tool Details about the tool that has been executed. * @param WP_REST_Request $request The current WP_REST_Request object. */ do_action( 'woocommerce_rest_insert_system_status_tool', $tool, $request ); $request->set_param( 'context', 'edit' ); $response = $this->prepare_item_for_response( $tool, $request ); return rest_ensure_response( $response ); }