rest_prepare_plugin

rest_prepare_plugin

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('rest_prepare_plugin') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-plugins-controller.php line 619
    		 * @param WP_REST_Response $response The response object.
    		 * @param array            $item     The plugin item from {@see get_plugin_data()}.
    		 * @param WP_REST_Request  $request  The request object.
    		 */
    		return apply_filters( 'rest_prepare_plugin', $response, $item, $request );
    	}
    
    	/**
    	 * Prepares links for the request.
    	 *
    	 * @since 5.5.0