• I’m trying to use the content_filter features and need to run it for a specific widget. The Other Notes info has everything I need BUT, it says

    The second parameter ($widget_id) can be used to target specific widgets if needed

    but I have no clue what my widget’s $widget_id is so I can factor it in my function. I have used Widget Logic on another site where I also use the Do Shortcode widget which seems to display the widget’s ID, but it would be helpful to either include this info in the admin display of widget or provide some details on how one discovers this variable.

    https://wordpress.org/plugins/widget-logic/

  • The topic ‘How do you find $widget_id’ is closed to new replies.