Make WordPress Core

Opened 8 months ago

Last modified 7 months ago

#59525 new enhancement

Add filter for `get_mu_plugins()`

Reported by: rebasaurus's profile rebasaurus Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: multisite Cc:


In, there was a need to be able to filter MU-plugins on the UI. However, for WP-CLI, when we call wp plugin list for MU-plugins, it calls get_mu_plugins(). It'd be nice if it was filterable to match the changes on the UI end.

It does look like WP-CLI does have the filter all_plugins for the drop-in plugins at to match Core's at, but that appears to only apply for the drop-ins.

Attachments (1)

get-mu-plugins.diff (265 bytes) - added by rebasaurus 8 months ago.

Download all attachments as: .zip

Change History (2)

#1 @sabernhardt
7 months ago

  • Component changed from General to Plugins
  • Focuses multisite added
Note: See TracTickets for help on using tickets.