wp_create_tag


wp_create_tag ( $tag_name )

Parameters:
  • (int|string) tag_name
Returns:
  • (array|WP_Error)
Defined at:

Description

Adds a new tag to the database if it does not already exist.

Related Functions

wp_create_term, wp_create_category, wpmu_create_blog, wp_create_thumbnail, wp_create_user

Top Google Results

User discussions

wpseek mobile