woocommerce_rest_delete_{$taxonomy}

woocommerce_rest_delete_{$taxonomy}

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_rest_delete_{$taxonomy}') is found 1 times:

  • /includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php line 578
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
         * @param WP_Term          $term     The deleted term.
         * @param WP_REST_Response $response The response data.
         * @param WP_REST_Request  $request  The request sent to the API.
         */
        do_action( "woocommerce_rest_delete_{$taxonomy}", $term, $response, $request );
     
        return $response;
    }
     
    /**
     * Prepare links for the request.