- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
710 B
PHP
Executable File
23 lines
710 B
PHP
Executable File
<?php
|
|
/**
|
|
* OnePress Licensing
|
|
*
|
|
* @author Paul Kashtanoff <paul@byonepress.com>
|
|
* @copyright (c) 2013, OnePress Ltd
|
|
*
|
|
* @package core
|
|
* @since 1.0.0
|
|
*/
|
|
|
|
// Checks if the one is already loaded.
|
|
// We prevent to load the same version of the module twice.
|
|
if (defined('ONP_LICENSING_325_LOADED')) return;
|
|
define('ONP_LICENSING_325_LOADED', true);
|
|
|
|
// Absolute path and URL to the files and resources of the module.
|
|
define('ONP_LICENSING_325_DIR', dirname(__FILE__));
|
|
define('ONP_LICENSING_325_URL', plugins_url(null, __FILE__ ));
|
|
|
|
include(ONP_LICENSING_325_DIR. '/licensing.php');
|
|
if ( !is_admin() ) return;
|
|
include(ONP_LICENSING_325_DIR. '/includes/license-manager.class.php'); |