woocommerce_rest_delete_product_attribute

woocommerce_rest_delete_product_attribute

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_rest_delete_product_attribute') is found 1 times:

  • /includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php line 413
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
         * @param stdObject        $attribute     The deleted attribute.
         * @param WP_REST_Response $response The response data.
         * @param WP_REST_Request  $request  The request sent to the API.
         */
        do_action( 'woocommerce_rest_delete_product_attribute', $attribute, $response, $request );
     
        return $response;
    }
     
    /**
     * Prepare a single product attribute output for response.