WordPress.org

Forums

WooSidebars
[resolved] Add filter for Taxonomy args (2 posts)

  1. metaphorcreations
    Member
    Posted 1 year ago #

    I have a taxonomy that has 157,907 terms associated with it and when I try to visit the Widget Areas page it is blank. The only way I can get it to show up is if I disable my custom taxonomy. I do not need this taxonomy to be used at all in conjunction with the Widget Areas, so I'm hoping you guys can add a filter to your taxonomy args so I can remove this (and future) taxonomies from being queried at all... just something like:

    $taxonomies = get_taxonomies( apply_filters('woosidebars_taxonomy_args', $args), 'objects' );

    Thanks!

    https://wordpress.org/plugins/woosidebars/

  2. metaphorcreations
    Member
    Posted 1 year ago #

    Sorry... nevermind. Just realized there isn't any way to filter get_taxonomies with specific args. And also just realized that all I need to do is set my taxonomies public attribute to false.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooSidebars
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic