wp_create_tag


wp_create_tag ( $tag_name )

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

Description

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

Related Functions

wp_create_term, wp_create_category, wp_create_thumbnail, wp_create_user, wp_create_categories

Top Google Results

User discussions

wpseek mobile