woocommerce_rest_prepare_{$this->taxonomy}

woocommerce_rest_prepare_{$this->taxonomy}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_rest_prepare_{$this->taxonomy}') is found 6 times:

  • /includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php line 166
    		 * @param WP_REST_Response  $response  The response object.
    		 * @param object            $item      The original term object.
    		 * @param WP_REST_Request   $request   Request used to generate the response.
    		 */
    		return apply_filters( "woocommerce_rest_prepare_{$this->taxonomy}", $response, $item, $request );
    	}
    
    	/**
    	 * Update term meta fields.
    	 *
    	 * @param WP_Term $term
    
  • /includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php line 104
    		 * @param WP_REST_Response  $response  The response object.
    		 * @param object            $item      The original term object.
    		 * @param WP_REST_Request   $request   Request used to generate the response.
    		 */
    		return apply_filters( "woocommerce_rest_prepare_{$this->taxonomy}", $response, $item, $request );
    	}
    
    	/**
    	 * Update term meta fields.
    	 *
    	 * @param WP_Term         $term    Term object.
    
  • /includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php line 79
    		 * @param WP_REST_Response  $response  The response object.
    		 * @param object            $item      The original term object.
    		 * @param WP_REST_Request   $request   Request used to generate the response.
    		 */
    		return apply_filters( "woocommerce_rest_prepare_{$this->taxonomy}", $response, $item, $request );
    	}
    
    	/**
    	 * Get the Shipping Class schema, conforming to JSON Schema.
    	 *
    	 * @return array
    
  • /includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php line 79
    		 * @param WP_REST_Response  $response  The response object.
    		 * @param object            $item      The original term object.
    		 * @param WP_REST_Request   $request   Request used to generate the response.
    		 */
    		return apply_filters( "woocommerce_rest_prepare_{$this->taxonomy}", $response, $item, $request );
    	}
    
    	/**
    	 * Get the Tag's schema, conforming to JSON Schema.
    	 *
    	 * @return array
    
  • /includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php line 88
    		 * @param WP_REST_Response  $response  The response object.
    		 * @param object            $item      The original term object.
    		 * @param WP_REST_Request   $request   Request used to generate the response.
    		 */
    		return apply_filters( "woocommerce_rest_prepare_{$this->taxonomy}", $response, $item, $request );
    	}
    
    	/**
    	 * Get the Category schema, conforming to JSON Schema.
    	 *
    	 * @return array
    
  • /includes/rest-api/Controllers/Version3/class-wc-rest-product-categories-controller.php line 88
    		 * @param WP_REST_Response  $response  The response object.
    		 * @param object            $item      The original term object.
    		 * @param WP_REST_Request   $request   Request used to generate the response.
    		 */
    		return apply_filters( "woocommerce_rest_prepare_{$this->taxonomy}", $response, $item, $request );
    	}
    
    	/**
    	 * Get the Category schema, conforming to JSON Schema.
    	 *
    	 * @return array