In wp, without the use of admin panel



  • A mark should be added in wp without the use of admin-panel. I've asked to add a transcript to the table wp_terms, but there's no sign in the adminke, it's probably still needed to be written/linked. ♪ ♪



  • Use your function. wp_insert_category by taxonomy post_tag:

    wp_insert_category( array(
        'cat_name' => 'Имя метки',
        'taxonomy' => 'post_tag'
    ) );
    

Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2