wpf_get_tag_id()

#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?

Our Black Friday Sale is Here! 🎉

Take advantage of the biggest discount we’ve ever offered. Save 30% off new licenses and upgrades.

Days
Hours
Minutes
Seconds
Sorry, this offer has expired.

Valid until Tuesday December 2nd.
See Terms and Conditions