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.8.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
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
         *
         * @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 );
    }