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: - Introduced in WordPress: 1.2.0
- Deprecated in WordPress: —
Description
Retrieves meta field names for a post.If there are no meta fields, then nothing (null) will be returned.