Closed ocean90 closed 7 years ago
wp_get_object_terms() returns a WP_Error object if a taxonomy doesn't exist. In this case count() will return 1.
wp_get_object_terms()
WP_Error
count()
wp_get_object_terms()
returns aWP_Error
object if a taxonomy doesn't exist. In this casecount()
will return 1.