daily pastebin goal
37%
SHARE
TWEET

Untitled

a guest Dec 12th, 2017 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. wp_set_post_tags($this->id, $_POST['tags']);
  2.    
  3. $tags = get_the_tags(get_the_ID());
  4. if(count($tags) > 0){
  5.     foreach($tags as $tag){
  6.        echo $tag->name."(".$tag->count.");
  7.     }
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top