fusion_builder_shortcodes_categories()

03/12/2018
Copy to Clipboard

Retrieve a list of category objects for defined taxonomy. Display a category list as element option.

Params

  • $taxonomy
    (string) (Required) Taxonomy to retrieve terms for.
  • $empty_choice
    (bool) Add empty option to a returned category list. Default: false.

  • $empty_choice_label
    (string) Text label for empty option in a returned category list. Default: “Default”.
Copy to Clipboard