bedrock-autoloader
bedrock-autoloader copied to clipboard
Question: Why filter `show_advanced_plugins` only when `is_admin`
- [x] I've read the guidelines for Contributing to Roots Projects
- [x] This request isn't a duplicate of an existing issue
- [x] I've read the docs and followed them (if applicable)
- [x] This is not a personal support request that should be posted on the Roots Discourse community
https://github.com/roots/bedrock-autoloader/blob/39dab98cf2fea1b1debb40c6d64ee6947ce98d64/src/Autoloader.php#L56-L58
The is_admin
check was introduced since the beginning.
Question: Why the is_admin
check?
In other words, in what case show_advanced_plugins
is triggered in non-admin context?