Using Plugin Filters

Plugin organizer comes with a special custom post type. This custom post type does not represent content. It is only used for applying a set of rules to a particular URL or set of URLs. Below is a screenshot of the edit screen presented when adding a new plugin filter followed by an explanation of the settings.

  • Name – This is just the name for the plugin to allow for better management. This allows you to name the filter something that can tell you what it is for and quickly identify it in the list of plugin filters for your site. Some sites will have thousands of plugin filters to manage their plugin settings.
  • Permalinks – This is the URL that will match when Plugin Organizer is searching for a set of enabled/disabled plugins to use. You can have an unlimited number of permalinks on every plugin filter. This can be handy when using Fuzzy URL matching since it will apply to a range of posts/pages that don’t have anything set on them but you want to manage their plugins. A good example is product categories in a plugin like Woocommerce. You can use limited wildcards in the permalink structure. For instance you can match the url https://www.sterup.com/wordpress-plugins/plugin-organizer/documentation/using-plugin-filters/ by entering https://www.sterup.com/wordpress-plugins/*/documentation/using-plugin-filters/. You can also match the url by entering https://www.sterup.com/*/plugin-organizer/documentation/using-plugin-filters/ as the permalink. The only character that is recognized is the * character. You can only use one and it can only replace one piece of the url in between the / characters. The priority is based on the placement of the * character starting from the end of the URL. The first match that is found is the one that will be used.
  • Also Affect Children – By checking this box the permalinks you have set on it will be used when a search is being done to find matches in the database.
  • Priority – This will set the priority of the post when Fuzzy URL matching is used. If multiple plugin filters are found this will decide which is used. Higher priority takes precedence. Plugin filters always have a lower priority than any registered post type. So if a settings is found on a post, page, or any custom post type that settings takes priority and all plugin filters are ignored.
  • Reset settings for this post – This button removes all settings for this plugin filter from the database and resets everything back to default on the edit screen.
  • Overview – Clicking this button gives you a breakdown of what plugins will be enabled/disabled when this plugin filter is applied.
  • Platform – Select whether this set of rules applies to standard or mobile browsers.
  • Role – The user role that will be affected by your plugin selections. These can be set on the settings page under the General Settings tab. The first role matched in the priority order you have set will take affect. Some users will have multiple roles.
  • Plugins – The list of plugins on your site and the state they will have when this plugin filter is matched. Clicking on a row changes it’s state.
    Green = Enabled and Active
    Gray = Enabled and Inactive
    Red = Disabled
    Gold = Globally Disabled
  • Plugin Groups – This is the list of plugin groups that can contain a defined number of plugins and let you manage them all at the same time. These groups can be set up under Plugin Organizer on the Group And Order Plugins page. These groups take a lower priority than the plugin settings above. Clicking on a row changes it’s state.
    Green = Enabled and Active
    Gray = Enabled and Inactive
    Red = Disabled
    Gold = Globally Disabled

Scroll to Top
nRjwX