#Overview
This function retrieves the tag ID of a given tag name as an integer, returning false
if there is no ID.
#Parameters
wpf_get_tag_id( $tag_name )
$tag_name
(string) (Required): The tag name to search.
#Return
(mixed) Returns a string
of the tag ID, or false
if nothing is found.
#Get a tag ID
$tag_id = wpf_get_tag_id( $tag_label );
Was this helpful?
Let us know if you liked the post. That’s the only way we can improve.