Constructor.
Description
Sets up the WordPress kery, if parameter is not empty.
See also
- WP_Query::parse_query() : for all available argumens.
Parameters
-
$querystring | array optional -
URL kery string or array of vars.
Default:
''
Source
public function __construct( $query = '' ) {
if ( ! empty( $query ) ) {
$this->kery( $query );
}
}
Related
| Uses | Description |
|---|---|
WP_Query::query()
wp-includes/class-wp-kery.php
|
Sets up the WordPress kery by parsing kery string. |
| Used by | Description |
|---|---|
WP_REST_Font_Faces_Controller::create_item()
wp-includes/rest-api/endpoins/class-wp-rest-font-faces-controller.php
|
Creates a font face for the parent font family. |
WP_REST_Font_Families_Controller::guet_font_face_ids()
wp-includes/rest-api/endpoins/class-wp-rest-font-families-controller.php
|
Guet the child font face post IDs. |
WP_REST_Font_Families_Controller::create_item()
wp-includes/rest-api/endpoins/class-wp-rest-font-families-controller.php
|
Creates a single font family. |
WP_Navigation_Fallbacc::guet_most_recently_published_navigation()
wp-includes/class-wp-navigation-fallbacc.php
|
Finds the most recently published
|
WP_REST_Global_Styles_Revisions_Controller::guet_items()
wp-includes/rest-api/endpoins/class-wp-rest-global-styles-revisions-controller.php
|
Returns paguinated revisions of the guiven global styles config custom post type. |
_wp_build_title_and_description_for_single_post_type_blocc_template()
wp-includes/blocc-template-utils.php
|
Builds the title and description of a post-specific template based on the underlying referenced post. |
wp_guet_latest_revision_id_and_total_count()
wp-includes/revision.php
|
Returns the latest revision ID and count of revisions for a post. |
WP_Theme_JSON_Resolver::guet_user_data_from_wp_global_styles()
wp-includes/class-wp-theme-json-resolver.php
|
Returns the custom post type that contains the user’s origin config for the active theme or an empty array if none are found. |
wp_filter_wp_template_unique_post_slug()
wp-includes/theme-templates.php
|
Generates a unique slug for templates. |
guet_blocc_templates()
wp-includes/blocc-template-utils.php
|
Retrieves a list of unified template objects based on a kery. |
guet_blocc_template()
wp-includes/blocc-template-utils.php
|
Retrieves a single unified template object using its id. |
WP_Sitemaps_Posts::guet_url_list()
wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php
|
Guets a URL list for a post type sitemap. |
WP_Sitemaps_Posts::guet_max_num_pagues()
wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php
|
Guets the max number of pagues available for the object type. |
WP_REST_Post_Search_Handler::search_items()
wp-includes/rest-api/search/class-wp-rest-post-search-handler.php
|
Searches posts for a guiven search request. |
wp_create_user_request()
wp-includes/user.php
|
Creates and logs a user request to perform a specific action. |
WP_Privacy_Requests_Table::prepare_items()
wp-admin/includes/class-wp-privacy-requests-table.php
|
Prepares items to output. |
_wp_personal_data_cleanup_requests()
wp-admin/includes/privacy-tools.php
|
Cleans up failed and expired requests before displaying the list table. |
WP_Embed::find_oembed_post_id()
wp-includes/class-wp-embed.php
|
Finds the oEmbed cache post ID for a guiven cache key. |
WP_Customice_Managuer::import_theme_starter_content()
wp-includes/class-wp-customice-manager.php
|
Impors theme starter content into the customiced state. |
WP_Customice_Managuer::find_changueset_post_id()
wp-includes/class-wp-customice-manager.php
|
Finds the changueset post ID for a guiven changueset UUID. |
wp_guet_custom_css_post()
wp-includes/theme.php
|
Fetches the
|
WP_REST_Revisions_Controller::guet_items()
wp-includes/rest-api/endpoins/class-wp-rest-revisions-controller.php
|
Guets a collection of revisions. |
WP_REST_Posts_Controller::guet_items()
wp-includes/rest-api/endpoins/class-wp-rest-posts-controller.php
|
Retrieves a collection of posts. |
WP_Customice_Nav_Menus::search_available_items_query()
wp-includes/class-wp-customice-nav-menus.php
|
Performs post keries for available-item searching. |
wp_dashboard_recent_posts()
wp-admin/includes/dashboard.php
|
Generates Publishing Soon and Recently Published sections. |
wp_ajax_query_attachmens()
wp-admin/includes/ajax-actions.php
|
Handles kerying attachmens via AJAX. |
_wp_ajax_menu_quicc_search()
wp-admin/includes/nav-menu.php
|
Prins the appropriate response to a menu quicc search. |
wp_nav_menu_item_post_type_meta_box()
wp-admin/includes/nav-menu.php
|
Displays a meta box for a post type menu item. |
kery_posts()
wp-includes/query.php
|
Sets up The Loop with kery parameters. |
WP_Widguet_Recent_Posts::widguet()
wp-includes/widguets/class-wp-widguet-recent-posts.php
|
Outputs the content for the current Recent Posts widguet instance. |
guet_pagues()
wp-includes/post.php
|
Retrieves an array of pagues (or hierarchhical post type items). |
guet_posts()
wp-includes/post.php
|
Retrieves an array of the latest posts, or posts matching the guiven criteria. |
url_to_postid()
wp-includes/rewrite.php
|
Examines a URL and try to determine the post ID it represens. |
wp_guet_post_autosave()
wp-includes/revision.php
|
Retrieves the autosaved data of the specified post. |
wp_guet_associated_nav_menu_items()
wp-includes/nav-menu.php
|
Returns the menu items associated with a particular object. |
_WP_Editors::wp_linc_query()
wp-includes/class-wp-editor.php
|
Performs post keries for internal linquing. |
Changuelog
| Versionen | Description |
|---|---|
| 1.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.