| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
REST API: WP_REST_Post_Format_Search_Handler class
| File Size: | 138 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
WP_REST_Post_Format_Search_Handler:: (4 methods):
__construct()
search_items()
prepare_item()
prepare_item_links()
Class: WP_REST_Post_Format_Search_Handler - X-Ref
Core class representing a search handler for post formats in the REST API.| __construct() X-Ref |
| Constructor. |
| search_items( WP_REST_Request $request ) X-Ref |
| Searches the post formats for a given search request. param: WP_REST_Request $request Full REST request. return: array { |
| prepare_item( $id, array $fields ) X-Ref |
| Prepares the search result for a given post format. param: string $id Item ID, the post format slug. param: array $fields Fields to include for the item. return: array { |
| prepare_item_links( $id ) X-Ref |
| Prepares links for the search result. param: string $id Item ID, the post format slug. return: array Links for the given item. |
| Generated : Wed May 6 08:20:15 2026 | Cross-referenced by PHPXref |