Title: Filter for wp-admin/widgets
Last modified: August 21, 2016

---

# Filter for wp-admin/widgets

 *  Resolved [tox2ik](https://wordpress.org/support/users/tox2ik/)
 * (@tox2ik)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/filter-for-wp-adminwidgets/)
 * I am trying to enable a certain plugin for the widget page.
 * The problem is that the plugin providing a widget is not loaded when i view: 
   [http://localhost/wp-admin/widgets.php](http://localhost/wp-admin/widgets.php).
   Because of this, I can not see the widget in the list (box) containing all widgets.
 * I have tried to create a Plugin filter with Permalink set to:
    [http://localhost/wp-admin/widgets.php](http://localhost/wp-admin/widgets.php)
 * I have also tried creating a filter with Permalink set to:
    [http://localhost/wp-admin](http://localhost/wp-admin)[
   enable for children: yes]
 * Please answer my two questions.
    Can I create a filter that does not include 
   a domain name? (i.e /online-store/living-room/tables/)
 * How can I create a filter for the various /wp-admin/ pages?
 * [http://wordpress.org/plugins/plugin-organizer/](http://wordpress.org/plugins/plugin-organizer/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/filter-for-wp-adminwidgets/#post-4397491)
 * You need to enable selective plugin loading on the admin pages. It is a radio
   button on the settings page. Settings->Plugin Organizer in the admin menu.
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/filter-for-wp-adminwidgets/#post-4397492)
 * No you can’t create a filter that doesn’t include the domain name.
 *  Thread Starter [tox2ik](https://wordpress.org/support/users/tox2ik/)
 * (@tox2ik)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/filter-for-wp-adminwidgets/#post-4397539)
 * Thank you.
 * It is very useful to define rules that are domain-agnostic, because one may have
   several domains for one site (or plugin) or even a local testing server. I think
   that this is a good feature request, please comment.
 * I think it should be possible to create rules that depend only on request-path,
   disregarding the domain name. Would you be interested to include this feature?
   I don’t have the time right now, but I could send you a patch based on the current
   SVN when I’m done.
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/filter-for-wp-adminwidgets/#post-4397541)
 * Each WordPress site is tied to a domain. If you have multiple domains then you
   have multiple sites and they will each have their own plugin organizer table.
   So not including the domain makes no sense since the sites are not related in
   the way you think they are.
 *  Thread Starter [tox2ik](https://wordpress.org/support/users/tox2ik/)
 * (@tox2ik)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/filter-for-wp-adminwidgets/#post-4397547)
 * Disabling the inclusion of certain PHP files is not in any way related to a domain
   name. I know what I’m talking about. If you disagree that this is a useful feature,
   just say so.
 * The “tie” is a single variable in mysqldb.wp_options. Look at row 1. It can also
   be changed via the WordPress API:
    [http://codex.wordpress.org/Changing_The_Site_URL](http://codex.wordpress.org/Changing_The_Site_URL)
 *  Plugin Author [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/filter-for-wp-adminwidgets/#post-4397549)
 * Ok but why would you have an entry for the domain that belongs to wp3 in the 
   plugin organizer table for wp2?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Filter for wp-admin/widgets’ is closed to new replies.

 * ![](https://ps.w.org/plugin-organizer/assets/icon-256x256.png?rev=1786554)
 * [Plugin Organizer](https://wordpress.org/plugins/plugin-organizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/plugin-organizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/plugin-organizer/)
 * [Active Topics](https://wordpress.org/support/plugin/plugin-organizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/plugin-organizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/plugin-organizer/reviews/)

## Tags

 * [domain](https://wordpress.org/support/topic-tag/domain/)
 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [permalink](https://wordpress.org/support/topic-tag/permalink/)

 * 6 replies
 * 2 participants
 * Last reply from: [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/filter-for-wp-adminwidgets/#post-4397549)
 * Status: resolved