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?
- Ampersand breaking Widget title
- WordPress custom widget undefined variable notice
- How to not display subcategories in Recent Posts widget area?
- How to append custom text to the output of ‘categories widget’?
- wrapper div for widgets not showing with all widgets
- display widget checkbox selection on frontend
- Enabled checkbox by default in WordPress widgets
- Change Woocommerce Product Categories Widget ‘Title’ based on Product Category
- Is there a way to use get_sidebar() when no widgets are activated?
- Change post title if post has specific category
- Multiple rows of footer widget areas
- Filter By Category Dropdown List With Custom Taxonomies
- Address automatically generated ids in css [closed]
- How do I insert an amazon search widget into posts or pages?
- How to remove Help tab and the Dashboard widget area’s empty border
- A/B test options at the widget level [closed]
- How not to display an instance of a widget dynamically?
- I’ve set up an extra field for all the available widgets. How do I show it’s value in the front-end?
- Is there any tab widget plugin supporting third party widgets? [closed]
- Add footer widgets
- Widget page stopped loading
- Add drop down to widget if it is in a certain area
- Widgets in WP 4.3 disappearing – How to fix?
- using get_template_part() inside a widget and passing variables
- Making jQuery .change() event persistent after widget save
- Output column number according to active sidebars
- How to save widget settings on field value change?
- Widget background images missing on second blog excerpt page
- How to allow editing of text in sidebar?
- Can’t save widget
- How should I add a “widget” like element?
- How to add a text widget on the posts admin page?
- Shortcode into widget
- Check if widget is inside sidebar with PHP
- How to Sync Menu, Widgets and other masters from Main Website to its Sub Site
- modifying title (in dashboard) for different widget instances
- How do I make the title of the following widget editable?
- How to translate Widget Description in constructor?
- Tags Instead of Category
- Static image for embedded YouTube video instead of blank player?
- Why isn’t my custom widget outputting any content?
- Escape HTML on WP input
- Twenty Twelve Widget Taking Space
- Make single widget area top level in 4.0 Customize Panel
- latest posts-widget displays all posts on archive page but works great anywhere else
- New Widget are not showing
- Custom CSS for a particular text/html widget in WordPress
- Instance not inserting data for widget
- looping widgets to organize bootstrap grids
- Removing side bar widgets from GovPress theme
- Random sidebar/widget background
- Add links widget to self-hosted blog?
- How to Highlight current category on category and single page template?
- Using filter in the widget causes fatal error
- What conditional to use for dynamic sidebar check?
- Widget : html 2 dimensional array doesn’t work
- call widget from within shortcode
- Widget select option not saving
- How to hide widget from certain category
- How to get class from widget area
- Conditional widget_form_callback
- How can I filter posts by tag on the fly
- Sidebar widgets – dynamic CSS : problem with widget-title
- Adding a single text input field to a custom Dashboard widget
- widget not displayed
- Dynamically creating multiple widgets from Mustache templates
- how to show only particular category post in archive widgets
- how can i display all youtube videos from a users youtube account
- Link a widget or find the php that creates the widgets
- How to change widget’s form color in admin?
- Creating a dynamic class name in my custom widget
- accessing wordpress serialized data outside wp
- How to add Ajax to the default widget calendar to support next/previous months loading?
- Want to add more option in “Sexy Login”
- How do I exclude portrait pictures from the nextgen gallery sidebar widget?
- How to test if the widgetized area has any widgets?
- Saving widget gets an undefined variable
- prevent custom widget file names from showing in Appearance > Editor
- Add html after the first widget in a sidebar