has_meta


has_meta ( $postid )

Parameters:
  • (int) postid 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

Get meta data for the given post ID.

Related Functions

has_tag, has_term_meta, the_meta, add_meta, list_meta

Top Google Results

User discussions

wpseek mobile