rest_prepare_sidebar

rest_prepare_sidebar

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('rest_prepare_sidebar') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php line 391
    		 * @param WP_REST_Response $response    The response object.
    		 * @param array            $raw_sidebar The raw sidebar data.
    		 * @param WP_REST_Request  $request     The request object.
    		 */
    		return apply_filters( 'rest_prepare_sidebar', $response, $raw_sidebar, $request );
    	}
    
    	/**
    	 * Prepares links for the sidebar.
    	 *
    	 * @since 5.8.0
    

See this hook used in plugins: