wp_update_post_meta Wordpress function


Description:

Update post meta field based on post ID.


Syntax:


Arguments:

(int) $post_id Post ID.
(string) $meta_key Metadata key (clean, slashes already stripped).
(mixed) $meta_value Metadata value (clean, slashes already stripped).
(mixed) $prev_value Optional. Previous value to check before removing.


Return Type:

(bool) False on failure, true if success.


Define At:

wp-includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_update_post_meta


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×