Changes between Initial Version and Version 1 of Ticket #60504, comment 6
- Timestamp:
- 02/15/2024 08:15:24 PM (7 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #60504, comment 6
initial v1 1 1 > @johnbillion Yeah this is going to be a sticking point, I've worked on many sites where there's one wp-content/mu-plugins/loader.php type file that loads all mu-plugins. 2 2 3 A filter callback could have several conditions/`in_array()` in the `if` so that if any of the slugs for the MU plugins it loads are found, it passes `basename( __FILE__ )` back. 3 A filter callback could have several conditions/`in_array()`/`isset()` in the `if` so that if any of the slugs for the MU plugins it loads are found, it passes `basename( __FILE__ )` back. 4 5 I've updated the example above to include an `isset()`.