Commit inicial powerservice

This commit is contained in:
Gabriel
2026-10-19 12:45:45 -06:00
commit ad85486fe2
10158 changed files with 2736804 additions and 0 deletions
@@ -0,0 +1,27 @@
<?php
/*
* Plugin name: Disable Media Pages
* Description: Plugin to disable "attachment" pages for WordPress media.
* Author: Johannes Siipola
* Author URI: https://siipo.la
* Version: 4.0.3
* License: GPL v2 or later
* Text Domain: disable-media-pages
*/
require __DIR__ . '/vendor/autoload.php';
// Load c3 in CI environment for code coverage. Codeception requests this file directly to collect the coverage
// report, so this has to run before the ABSPATH check below.
if (file_exists(__DIR__ . '/c3.php')) {
require_once __DIR__ . '/c3.php';
}
// Prevent direct access to this file outside of WordPress.
if (!defined('ABSPATH')) {
exit;
}
\NPX\DisableMediaPages\Plugin::get_instance();