media-cleaner
Last commit date
app
1 month ago
classes
1 month ago
common
1 month ago
languages
1 year ago
logs
6 years ago
media-cleaner.php
1 month ago
readme.txt
1 month ago
uninstall.php
1 month ago
media-cleaner.php
32 lines
| 1 | <?php |
| 2 | /* |
| 3 | Plugin Name: Media Cleaner |
| 4 | Plugin URI: https://meowapps.com |
| 5 | Description: Clean your WordPress! Eliminate unused and broken media files. For a faster, and better website. |
| 6 | Version: 7.2.5 |
| 7 | Author: Jordy Meow |
| 8 | Author URI: https://jordymeow.com |
| 9 | Text Domain: media-cleaner |
| 10 | License: GPLv2 or later |
| 11 | License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 12 | |
| 13 | Originally developed for two of my websites: |
| 14 | - Jordy Meow (https://offbeatjapan.org) |
| 15 | - Haikyo (https://haikyo.org) |
| 16 | */ |
| 17 | |
| 18 | if ( !defined( 'WPMC_VERSION' ) ) { |
| 19 | define( 'WPMC_VERSION', '7.2.5' ); |
| 20 | define( 'WPMC_PREFIX', 'wpmc' ); |
| 21 | define( 'WPMC_DOMAIN', 'media-cleaner' ); |
| 22 | define( 'WPMC_ENTRY', __FILE__ ); |
| 23 | define( 'WPMC_PATH', dirname( __FILE__ ) ); |
| 24 | define( 'WPMC_URL', plugin_dir_url( __FILE__ ) ); |
| 25 | define( 'WPMC_ITEM_ID', 987 ); |
| 26 | } |
| 27 | |
| 28 | require_once( WPMC_PATH . '/classes/init.php' ); |
| 29 | register_activation_hook( WPMC_ENTRY, 'wpmc_install' ); |
| 30 | |
| 31 | ?> |
| 32 |