get_post_custom_keys


get_post_custom_keys ( $post_id = 0 )

Parameters:
  • (int) post_id Optional. Post ID. Default is the ID of the global `$post`.
Returns:
  • (array|void) Array of the keys, if retrieved.
Defined at:

Description

Retrieves meta field names for a post.If there are no meta fields, then nothing (null) will be returned.

Related Functions

get_post_custom, get_post_custom_values, get_post_ancestors, get_post_states, get_post_time

Top Google Results

User discussions

wpseek mobile