Functions
-
functionget_post_thumbnail_id()
Retrieves the post thumbnail ID.
-
functionget_post_time()
Retrieves the localized time of the post.
-
functionget_post_timestamp()
Retrieves post published or modified time as a Unix timestamp.
-
functionget_post_to_edit()
Gets an existing post and format it for editing.
-
functionget_post_type()
Retrieves the post type of the current post or of a given post.
-
functionget_post_types()
Gets a list of all registered post type objects.
-
functionget_post_types_by_support()
Retrieves a list of post type names that support a specific feature.
-
Retrieves the permalink for a post type archive feed.
-
functionget_post_type_archive_link()
Retrieves the permalink for a post type archive.
-
functionget_post_type_archive_template()
Retrieves path of post type archive template in current or parent template.
-
functionget_post_type_capabilities()
Builds an object with all post type capabilities out of a post type object
-
functionget_post_type_labels()
Builds an object with all post type labels out of a post type object.
-
functionget_post_type_object()
Retrieves a post type object by name.
-
functionget_preferred_from_update_core()
Selects the first update version from the update_core option.
-
functionget_preview_post_link()
Retrieves the URL used for the post preview.
-
functionget_previous_comments_link()
Retrieves the link to the previous comments page.
-
functionget_previous_image_link()
Gets the previous image link that has the same post parent.
-
functionget_previous_post()
Retrieves the previous post that is adjacent to the current post.
-
functionget_previous_posts_link()
Retrieves the previous posts page link.
-
functionget_previous_posts_page_link()
Retrieves the previous posts page link.
-
functionget_previous_post_link()
Retrieves the previous post link that is adjacent to the current post.
-
functionget_privacy_policy_template()
Retrieves path of Privacy Policy page template in current or parent template.
-
functionget_privacy_policy_url()
Retrieves the URL to the privacy policy page.
-
functionget_private_posts_cap_sql()
Retrieves the private post SQL based on capability.
-
functionget_profile()
Retrieve user data based on field.
-
functionget_pung()
Retrieves URLs already pinged for a post.
-
functionget_queried_object()
Retrieves the currently queried object.
-
functionget_queried_object_id()
Retrieves the ID of the currently queried object.
-
functionget_query_pagination_arrow()
Helper function that returns the proper pagination arrow HTML for `QueryPaginationNext` and `QueryPaginationPrevious` blocks based on the provided `paginationArrow` from `QueryPagination` context.
-
functionget_query_template()
Retrieves path to a template.