has_meta


has_meta ( $post_id )

Parameters:
  • (int) post_id A post ID.
Returns:
  • (array[]) { Array of meta data arrays for the given post ID. @type array ...$0 { Associative array of meta data. @type string $meta_key Meta key. @type mixed $meta_value Meta value. @type string $meta_id Meta ID as a numeric string. @type string $post_id Post ID as a numeric string. } }
Defined at:

Description

Returns meta data for the given post ID.

Related Functions

has_tag, has_term_meta, add_meta, the_meta, list_meta

Top Google Results

User discussions

wpseek mobile