Glossary Term
get_post_custom_keys()
3 tags
1 category
get_post_custom_keys() — Retrieves meta field names for a post. If there are no meta fields, then nothing (null) will be returned.
Inputs: $post_id (int): Optional. Post ID. Default is the ID of the global $post.
Returns array|null: Array of the meta field keys, if retrieved. Null if the post has no post meta, or if the post meta could not be retrieved. A key which is a numeric string is returned as the equivalent integer.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
