WP_REST_Menu_Items_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php | Prepares a single nav menu item output for response.
|
WP_REST_Menu_Items_Controller::get_item_schema()wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php | Retrieves the nav menu item’s schema, conforming to JSON Schema.
|
WP_REST_Posts_Controller::prepare_tax_query()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php | Prepares the ‘tax_query’ for a collection of posts.
|
WP_REST_Posts_Controller::prepare_taxonomy_limit_schema()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php | Prepares the collection schema for including and excluding items by terms.
|
register_and_do_post_meta_boxes()wp-admin/includes/meta-boxes.php | Registers the default post meta boxes, and runs the do_meta_boxes actions.
|
WP_REST_Posts_Controller::get_available_actions()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php | Gets the link relations available for the post and current user.
|
WP_REST_Posts_Controller::get_schema_links()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php | Retrieves Link Description Objects that should be added to the Schema for the posts collection.
|
WP_REST_Posts_Controller::prepare_links()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php | Prepares links for the request.
|
WP_REST_Posts_Controller::get_item_schema()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php | Retrieves the post’s schema, conforming to JSON Schema.
|
WP_REST_Posts_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php | Prepares a single post output for response.
|
WP_REST_Posts_Controller::handle_terms()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php | Updates the post’s terms from a REST request.
|
WP_REST_Posts_Controller::check_assign_terms_permission()wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php | Checks whether current user can assign all terms sent with the current request.
|
WP_REST_Taxonomies_Controller::get_items_permissions_check()wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php | Checks whether a given request has permission to read taxonomies.
|
WP_REST_Taxonomies_Controller::get_items()wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php | Retrieves all public taxonomies.
|
WP_REST_Post_Types_Controller::prepare_item_for_response()wp-includes/rest-api/endpoints/class-wp-rest-post-types-controller.php | Prepares a post type object for serialization.
|
WP_Post_Type::unregister_taxonomies()wp-includes/class-wp-post-type.php | Removes the post type from all taxonomies.
|
wp_queue_posts_for_term_meta_lazyload()wp-includes/post.php | Queues posts for lazy-loading of term meta.
|
get_inline_data()wp-admin/includes/template.php | Adds hidden fields with the data for use in the inline editor for posts and pages.
|
bulk_edit_posts()wp-admin/includes/post.php | Processes the post data for the bulk editing of posts.
|
WP_Posts_List_Table::inline_edit()wp-admin/includes/class-wp-posts-list-table.php | Outputs the hidden row displayed when inline editing
|
WP_Posts_List_Table::get_columns()wp-admin/includes/class-wp-posts-list-table.php | |
WP_Query::get_posts()wp-includes/class-wp-query.php | Retrieves an array of posts based on query variables.
|
update_object_term_cache()wp-includes/taxonomy.php | Updates the cache for the given term object ID(s).
|
get_the_taxonomies()wp-includes/taxonomy.php | Retrieves all taxonomies associated with a post.
|
get_post_taxonomies()wp-includes/taxonomy.php | Retrieves all taxonomy names for the given post.
|
is_object_in_taxonomy()wp-includes/taxonomy.php | Determines if the given object type is associated with the given taxonomy.
|
clean_object_term_cache()wp-includes/taxonomy.php | Removes the taxonomy relationship to terms from the cache.
|
_wp_menu_item_classes_by_context()wp-includes/nav-menu-template.php | Adds the class property classes for the current context, if applicable.
|
_update_term_count_on_transition_post_status()wp-includes/post.php | Updates the custom taxonomies’ term counts when a post’s status is changed.
|
wp_delete_attachment()wp-includes/post.php | Trashes or deletes an attachment.
|
wp_publish_post()wp-includes/post.php | Publishes a post by transitioning the post status.
|
wp_insert_post()wp-includes/post.php | Inserts or update a post.
|
wp_delete_post()wp-includes/post.php | Trashes or deletes a post or page.
|
wp_xmlrpc_server::_insert_post()wp-includes/class-wp-xmlrpc-server.php | Helper method for wp_newPost() and wp_editPost(), containing shared logic.
|
wp_xmlrpc_server::_prepare_post()wp-includes/class-wp-xmlrpc-server.php | Prepares post data for return in an XML-RPC object.
|
wp_xmlrpc_server::_prepare_post_type()wp-includes/class-wp-xmlrpc-server.php | Prepares post data for return in an XML-RPC object.
|
Taxonomy objects for post type
If the
$output
parameter is'objects'
, taxonomy objects will be returned as described inget_taxonomies()
.will output
Taxonomy names for post type
will typically output:
Taxonomy names for post object
To get the taxonomies for the current post, the current post object can be passed instead of the post type.
will output
Its nice to know that I can get multiple post type taxonomies at once without making a loop.
or for just a array with taxonomies names