wp-includes/rest-api/search/class-wp-rest-post-search-handler.php:
WP_REST_Post_Search_Handler::prepare_item()
|
Prepares the search result for a given ID.
|
wp-admin/includes/post.php:
use_block_editor_for_post_type()
|
Return whether a post type is compatible with the block editor.
|
wp-admin/includes/meta-boxes.php:
register_and_do_post_meta_boxes()
|
Registers the default post meta boxes, and runs the do_meta_boxes actions.
|
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:
WP_REST_Posts_Controller::get_available_actions()
|
Get the link relations available for the post and current user.
|
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:
WP_REST_Posts_Controller::get_schema_links()
|
Retrieve Link Description Objects that should be added to the Schema for the posts collection.
|
wp-includes/rest-api.php:
create_initial_rest_routes()
|
Registers default REST API routes.
|
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php:
WP_REST_Users_Controller::get_items_permissions_check()
|
Permissions check for getting all users.
|
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:
WP_REST_Posts_Controller::prepare_links()
|
Prepares links for the request.
|
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:
WP_REST_Posts_Controller::get_item_schema()
|
Retrieves the post’s schema, conforming to JSON Schema.
|
wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php:
WP_REST_Posts_Controller::get_collection_params()
|
Retrieves the query params for the posts collection.
|
wp-includes/comment.php:
get_default_comment_status()
|
Gets the default comment status for a post type.
|
wp-admin/includes/image.php:
wp_generate_attachment_metadata()
|
Generate attachment meta data and create image sub-sizes for images.
|
wp-admin/includes/user.php:
wp_delete_user()
|
Remove user and optionally reassign posts and links to another user.
|
wp-admin/includes/template.php:
get_inline_data()
|
Adds hidden fields with the data for use in the inline editor for posts and pages.
|
wp-admin/includes/media.php:
get_media_item()
|
Retrieve HTML form for modifying the image attachment.
|
wp-admin/includes/post.php:
edit_post()
|
Update an existing post with values provided in $_POST.
|
wp-admin/includes/post.php:
get_default_post_to_edit()
|
Default post information to use when populating the “Write Post” form.
|
wp-admin/includes/meta-boxes.php:
page_attributes_meta_box()
|
Display page attributes form fields.
|
wp-admin/includes/meta-boxes.php:
post_format_meta_box()
|
Display post format form elements.
|
wp-admin/includes/class-wp-media-list-table.php:
WP_Media_List_Table::get_columns()
|
|
wp-admin/includes/class-wp-posts-list-table.php:
WP_Posts_List_Table::inline_edit()
|
Outputs the hidden row displayed when inline editing
|
wp-admin/includes/class-wp-posts-list-table.php:
WP_Posts_List_Table::get_columns()
|
|
wp-admin/includes/class-wp-posts-list-table.php:
WP_Posts_List_Table::_display_rows()
|
|
wp-includes/post-template.php:
get_post_class()
|
Retrieves an array of the class names for the post container element.
|
wp-includes/post-template.php:
get_body_class()
|
Retrieves an array of the class names for the body element.
|
wp-includes/media.php:
wp_enqueue_media()
|
Enqueues all scripts, styles, settings, and templates necessary to use all media JS APIs.
|
wp-includes/post.php:
wp_insert_post()
|
Insert or update a post.
|
wp-includes/revision.php:
wp_revisions_to_keep()
|
Determine how many revisions to retain for a given post.
|
wp-includes/revision.php:
wp_save_post_revision()
|
Creates a revision for the current version of a post.
|
wp-includes/post-formats.php:
get_post_format()
|
Retrieve the format slug for a post
|
wp-includes/class-wp-xmlrpc-server.php:
wp_xmlrpc_server::wp_getComments()
|
Retrieve comments.
|
wp-includes/class-wp-editor.php:
_WP_Editors::editor_settings()
|
|
wp-includes/media-template.php:
wp_print_media_templates()
|
Prints the templates used in the media manager.
|
To check if posts support comments:
Or, if pages support excerpts:
accepted slugs:
'title'
'editor' (content)
'author'
'thumbnail' (featured image) (current theme must also support Post Thumbnails)
'excerpt'
'trackbacks'
'custom-fields' (see Custom_Fields, aka meta-data)
'comments' (also will see comment count balloon on edit screen)
'revisions' (will store revisions)
'page-attributes' (template and menu order) (hierarchical must be true)
'post-formats' (see Post_Formats)
To dump all possible variable strings.