Functions
-
functionget_post_custom()
Retrieves post meta fields, based on post ID.
-
functionget_post_custom_keys()
Retrieves meta field names for a post.
-
functionget_post_custom_values()
Retrieves values for a custom post field.
-
functionget_post_datetime()
Retrieves post published or modified time as a `DateTimeImmutable` object instance.
-
functionget_post_field()
Retrieves data from a post field based on Post ID.
-
functionget_post_format()
Retrieve the format slug for a post
-
functionget_post_format_link()
Returns a link to a post format index.
-
functionget_post_format_slugs()
Retrieves the array of post format slugs.
-
functionget_post_format_string()
Returns a pretty, translated version of a post format slug
-
functionget_post_format_strings()
Returns an array of post format slugs to their translated and pretty display versions
-
functionget_post_galleries()
Retrieves galleries from the passed post’s content.
-
functionget_post_galleries_images()
Retrieves the image srcs from galleries from a post’s content, if present.
-
functionget_post_gallery()
Checks a specified post’s content for gallery and, if present, return the first
-
functionget_post_gallery_images()
Checks a post’s content for galleries and return the image srcs for the first found gallery.
-
functionget_post_meta()
Retrieves a post meta field for the given post ID.
-
functionget_post_meta_by_id()
Returns post meta data by meta ID.
-
functionget_post_mime_type()
Retrieves the mime type of an attachment based on the ID.
-
functionget_post_mime_types()
Gets default post mime types.
-
functionget_post_modified_time()
Retrieves the time at which the post was last modified.
-
functionget_post_parent()
Retrieves the parent post object for the given post.
-
functionget_post_permalink()
Retrieves the permalink for a post of a custom post type.
-
functionget_post_reply_link()
Retrieves HTML content for reply to post link.
-
functionget_post_states()
Retrieves an array of post states from a post.
-
functionget_post_stati()
Gets a list of post statuses.
-
functionget_post_status()
Retrieves the post status based on the post ID.
-
functionget_post_statuses()
Retrieves all of the WordPress supported post statuses.
-
functionget_post_status_object()
Retrieves a post status object by name.
-
functionget_post_taxonomies()
Retrieves all taxonomy names for the given post.