HEX
Server: Apache
System: Linux 162-240-236-42.bluehost.com 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
User: bt667 (1004)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /home/bt667/www/wp-content/plugins/disable-media-pages/disable-media-pages.php
<?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.0
 * License: GPL v2 or later
 * Text Domain: disable-media-pages
 */

require __DIR__ . '/vendor/autoload.php';

// Load c3 in CI environment for code coverage
if (file_exists(__DIR__ . '/c3.php')) {
    require_once __DIR__ . '/c3.php';
}

\NPX\DisableMediaPages\Plugin::get_instance();