xss_post_type_has_taxonomy

xss_post_type_has_taxonomy($taxonomy = "category", $post_type = "")

  • $taxonomy: taxonomy to check.
  • $post_type: post type to check against.

Check if the post_type has taxonomy. If the $post_type is empty, framework will get it from global (current) $post object.

Comments

Leave a Reply