• Resolved sluimerstand

    (@sluimerstand)


    Hey there!

    I changed the order of my taxonomies via this plugin, but when I use the function get_taxonomies() the order has not changed.

    My question: is this plugin supposed to re-order taxonomies output via get_taxonomies(), if yes what could I be doing wrong, and if no does anyone know of a way to do so?

    (The reason being that several pieces of code rely on this function and I would like to change the order in which the retrieved taxonomies appear.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hi, afaik there is no filter in the get_taxonomies() function, so I cannot hook into it. You need to order manually in your code:

    $taxonomies = get_taxonomies();
    $taxonomies = customtaxorder_sort_taxonomies( $taxonomies );

    Now that I look at the code, there is a filter. I will look into it and consider using it.

    Thread Starter sluimerstand

    (@sluimerstand)

    Thanks for the answer, with that information I should be able to at least manage something!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘get_taxonomies()’ is closed to new replies.