wp_add_post_tags Wordpress function


Description:

Adds tags to a post.


Syntax:


Arguments:

(int) $post_id Post ID
(string) $tags The tags to set for the post, separated by commas.


Return Type:

(bool|null) Will return false if $post_id is not an integer or is 0. Will return null otherwise


Define At:

wp-includes/post.php


Wordpress Reference URL:

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


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