WPDev.one

has_meta()

has_meta( mixed $post_id )

Returns meta data for the given post ID.

Parameters 1 required

Name / Type Description
$post_id
int

A post ID.

Required

Return Value

(array[])
array[] { Array of meta data arrays for the given post ID.

Function Information

Since Version
1.2.0
Source File
wp-admin/includes/post.php
Advertisement