woocommerce_rest_delete_{$taxonomy}

woocommerce_rest_delete_{$taxonomy}

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

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

  • /includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php line 578
    		 * @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.