sfw_get_object_metadata
Description
Retrieve meta of post or term
Since: 1.0.0
For further information see: get_metadata
Code
<?php function sfw_get_object_metadata( $object, $meta_key, $single = true ){
…
} ?>
Parameter
- $object
- (WP_Post|WP_Term)
- $meta_key
- (string)
- $single
- (bool)
Default: true