Wordpress get_terms returns empty array for custom taxonomy Wordpress get_terms returns empty array for custom taxonomy wordpress wordpress

Wordpress get_terms returns empty array for custom taxonomy


Ok, i got the answer.get_terms( 'job_keywords', array("hide_empty" => false) );get_terms have default hide_empty => true and my keywords are not used by any post.

From wordpress:

Default is true. Will not return empty terms, which means terms whose count is 0 according to the given taxonomy.