studiou-wc-mail-queue.php 953 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Loader stub for the studiou-wc-mail-queue mu-plugin.
  4. *
  5. * WordPress globs only `wp-content/mu-plugins/*.php` — top level, no recursion.
  6. * A plugin that lives in a subdirectory is therefore never loaded on its own.
  7. *
  8. * INSTALL
  9. * 1. Copy the whole `studiou-wc-mail-queue/` directory to
  10. * `wp-content/mu-plugins/studiou-wc-mail-queue/`
  11. * 2. Copy THIS file to `wp-content/mu-plugins/studiou-wc-mail-queue.php`
  12. * (top level, alongside the directory — not inside it).
  13. *
  14. * Without step 2 the plugin is completely inert and reports nothing.
  15. *
  16. * @package studiou-wc-mail-queue
  17. * @copyright 2026 QUADARAX
  18. * @author Dalibor Votruba <dvotruba@quadarax.com>
  19. * @license GPL-2.0-or-later
  20. */
  21. defined( 'ABSPATH' ) || exit;
  22. $studiou_wcmq_main = __DIR__ . '/studiou-wc-mail-queue/studiou-wc-mail-queue.php';
  23. if ( file_exists( $studiou_wcmq_main ) ) {
  24. require_once $studiou_wcmq_main;
  25. }
  26. unset( $studiou_wcmq_main );