Forums

Widgets Sidebar (1 post)

  1. cbdyas
    Member
    Posted 10 months ago #

    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"?

Reply

You must log in to post.

About this Topic