rest_prepare_taxonomy

rest_prepare_taxonomy

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('rest_prepare_taxonomy') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php line 291
    		 * @param WP_REST_Response $response The response object.
    		 * @param WP_Taxonomy      $item     The original taxonomy object.
    		 * @param WP_REST_Request  $request  Request used to generate the response.
    		 */
    		return apply_filters( 'rest_prepare_taxonomy', $response, $taxonomy, $request );
    	}
    
    	/**
    	 * Prepares links for the request.
    	 *
    	 * @since 6.1.0
    

See this hook used in plugins: