• When using the filter:

    add_filter('widget_display_callback', 'function_name');
    
    function function_name($instance) {
       /* Some Code */
       return $instance;
    }

    Is it possible to determine the sidebar name and/or ID the particular widget instance is located within “function_name”?

The topic ‘Widgets Sidebar’ is closed to new replies.