woocommerce_rest_insert_system_status_tool

woocommerce_rest_insert_system_status_tool

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_rest_insert_system_status_tool') is found 1 times:

  • /includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php line 331
    		 *
    		 * @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 );
    	}