Menu
wpseek
mobile
Search
tag_exists
tag_exists
(
$tag_name
)
Parameters:
(int|string)
tag_name
Returns:
(mixed) Returns null if the term does not exist. Returns an array of the term ID and the term taxonomy ID if the pairing exists. Returns 0 if term ID 0 is passed to the function.
Defined at:
wp-admin/includes/taxonomy.php
, line 222
Introduced in WordPress:
2.3.0
Deprecated in WordPress:
—
Description
Checks whether a post tag with a given name exists.
Related Functions
post_exists
,
term_exists
,
email_exists
,
metadata_exists
,
category_exists
Top Google Results
User discussions
More ...
New topic ...
wpseek
mobile
Recently added
4
_build_block_template_object_from_post_object
wp_autoload_values_to_autoload
wp_determine_option_autoload_value
wp_filter_default_autoload_value_via_option_size
My Bookmarks
- Soon -
About
Imprint
Privacy Policy