rest_prepare_widget_type

rest_prepare_widget_type

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

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('rest_prepare_widget_type') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php line 352
    		 * @param WP_REST_Response $response    The response object.
    		 * @param array            $widget_type The array of widget data.
    		 * @param WP_REST_Request  $request     The request object.
    		 */
    		return apply_filters( 'rest_prepare_widget_type', $response, $widget_type, $request );
    	}
    
    	/**
    	 * Prepares links for the widget type.
    	 *
    	 * @since 5.8.0