Recent

bsearch_get_metafunction

bsearch_get_meta()

Get post meta value.

Since: 4.2.3
Source: includes/options-api.php line 372

Signature

function bsearch_get_meta( $post_id, $key, $single = ... ): mixed;

Parameters

Type Name Description
int $post_id Post ID.
string $key Meta key.
bool $single Whether to return a single value.

Returns

mixed — Meta value.