sfw_update_object_metadata
Description
Updates meta of post or term
Since: 1.0.0
For further information see: update_metadata
Code
<?php function sfw_update_object_metadata( $object, $meta_key, $meta_value ){
…
} ?>
Parameter
- $object
- (WP_Post|WP_Term)
- $meta_key
- (string)
- $meta_value
- (mixed) Any value