Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #60504, comment 6


Ignore:
Timestamp:
02/15/2024 08:15:24 PM (7 months ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60504, comment 6

    initial v1  
    11> @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.
    22
    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.
     3A 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
     5I've updated the example above to include an `isset()`.