wp_popular_terms_checklist ( $taxonomy, $default_term = 0, $number = 10, $display = true )

  • (string) taxonomy Taxonomy to retrieve terms from.
  • (int) default_term Optional. Not used.
  • (int) number Optional. Number of terms to retrieve. Default 10.
  • (bool) display Optional. Whether to display the list as well. Default true.
  • (int[]) Array of popular term IDs.
Defined at:


Retrieves a list of the most popular terms from the specified taxonomy.If the `$display` argument is true then the elements for a list of checkbox `` elements labelled with the names of the selected terms is output. If the `$post_ID` global is not empty then the terms associated with that post will be marked as checked.

Related Functions

wp_terms_checklist, wp_category_checklist, wp_link_category_checklist, wp_parse_list, wp_get_popular_importers

Top Google Results

User discussions

wpseek mobile