Sorry, I was just hooking into the wrong filter. My add_filter
should have hooked into widget_categories_args
not widget_categories_dropdown_args
.
Related Posts:
- Woocommerce Product Category Widget – hide categories that have no products in stock [closed]
- Hide specific categories from category widget
- Extend WordPress 3.8 Site Activity Dashboard Widget to include more comments
- Add filter to blogroll widget
- How to add a filter to all widget output
- Shortcode from a widget is wrapped in unwanted element
- Unfiltered html in widget title not working
- Widget Area: Modify $param[‘xy’] from widget-$n
- Custom widget using get_categories select menu dropdown
- WordPress: Apply filter/hook to a particular sidebar widgets?
- Trying to wrap around first word of multiple word strings with a widget_title() filter, only works on two word strings and not more than two
- Disable widgets on specific posts
- Excluding specific widgets from default sidebar class
- Issue understanding and using WordPress filters and actions
- Filter Text from sidebar widget?
- Why would apply_filters return a non-empty string, when the value returned is empty?
- recent comments filter by author, page, category
- Add filter for specific category only
- wp_list_categories + widget
- Pass widget variable to external function
- How to use in_category?
- Adding iframe Content to Sidebar Widget
- How to hook into unregistering a widget instance?
- $post>ID displays wrong post ID
- Video Embed in Sidebar Widget with Links to Others in Category
- How can I whitelist only specific shortcodes for processing in text widgets?
- Bookshelf plugin and/or widget [closed]
- How to update widget from widget() function?
- Add a banner to the Dashboard
- Display all posts with same title
- How to access widget data from outside widget?
- Unable to get Alert function to consistently work with backend widget with latest WP
- How to specify which category of the post to use in case of multiple categories
- add_page_menu to make shortcut to widgets
- Insert custom content before widget title/after widget opening tag
- Show widget when not using SSL
- How/where is the global variable $wp_registered_widgets filled?
- How can I use AJAX to save/update a widget form?
- Display assigned terms with link
- Hide all Dashboard Widgets (not remove)
- Adding a Widget : what to put in plugin URL
- How to list all custom post types in a custom widget?
- How can I assign widgets from WP to appear in bbpress?
- get_option returns undesired blank instance of a widget
- escaping and sanitizing input for custom widget form fields
- Dynamic created widget id value of multi-instance in jQuery
- Show only first category name in RSS?
- How to select multiple media files for a widget form?
- Filter $cpt categories to omit certain category
- Create an extra Widget Areas in WordPress TwentyTwelve
- Categories filtering in new post
- Apply code for all else first block
- How i can widget ID get after drag for wordpress with jquery?
- ajax for filtering posts by category in wordpress loops
- dynamic sidebar in front page
- Adding a WordPress Widget to a settings page
- How to change “Call To +1800090098” in TopStore pro theme [closed]
- How to dynamically add the the input text field in widget?
- Header Sidebar Won’t Move Lower – Want to Align with Header Logo [closed]
- display widget checkbox selection on frontend
- Enabled checkbox by default in WordPress widgets
- Is there a way to use get_sidebar() when no widgets are activated?
- How to translate Widget Description in constructor?
- Tags Instead of Category
- Custom CSS for a particular text/html widget in WordPress
- Adding a single text input field to a custom Dashboard widget
- how to show only particular category post in archive widgets
- Get current taxonomy and display query accordingly
- How do I customize the positioning of WordPress widgets?
- Limit archive widget results
- How can I detemine the parameters needed by the_widget()?
- How to fix select filter on category
- wp_dropdown_categories() works correctly but the list is not filtered in admin for custom post type. What is the problem?
- Can you hide a widget based on its content?
- Add $args to wp_list_categories
- How to hide a category or tag everywhere EXCEPT for use with get_posts
- Fatal error: Uncaught Error: Class ‘WP_Widget’ not found
- Array showing all values of loop instead of specific value to post
- Widget not appearing in customizer
- Widget image reorganize layout
- Restrict retrieved terms by category?
- Loop through Widgets in sidebar using widget array number?
- How to Change Sort Order of default WordPress Catgory Widgets?
- Make a widget to my footer
- How to change text of a widget depend on condition?
- Always show the widget title in a wordpress widget
- Custom filters inside a specific category?
- Display Posts by Views (Popular Posts Widget)
- Default WordPress widgets always appear
- Add space to the end on a widget
- Show editor widgets only on pages that use a specific template?
- Conditionally enable autoplay when using oEmbed in a custom widget
- dynamically filter by category via sub-menu
- Options page for widget
- user definable sidebar per page
- List.js inside WordPress widget
- Post Thumbnails on Sidebar Widgets
- Using Conditional Tags to restrict something to 1 user?
- Classic widgets with 5.9+?
- Theme Widget Area Defaults