apache
wp-content
mu-plugins
plugins
activitypub
audioigniter
authldap
companion-auto-update
easy-digital-downloads
gitium
gp-premium
backgrounds
blog
colors
copyright
disable-elements
dist
elements
general
hooks
functions
generate-hooks.php
inc
langs
library
menu-plus
page-header
secondary-nav
sections
site-library
spacing
typography
woocommerce
gp-premium.php
readme.txt
wpml-config.xml
jetpack-protect
menu-icons
simple-local-avatars
smtp-mailer
two-factor
w3-total-cache
wp-piwik
wp-webauthn
index.php
themes
index.php
.dbsetup
.gitignore
htaccess
php.ini
22 lines
447 B
PHP
22 lines
447 B
PHP
<?php
|
|
/**
|
|
* The legacy hooks module.
|
|
*
|
|
* @since 1.0.0
|
|
* @deprecated 1.7.0
|
|
*
|
|
* @package GP Premium
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // No direct access, please.
|
|
}
|
|
|
|
// Define the version.
|
|
if ( ! defined( 'GENERATE_HOOKS_VERSION' ) ) {
|
|
define( 'GENERATE_HOOKS_VERSION', GP_PREMIUM_VERSION );
|
|
}
|
|
|
|
// Include functions identical between standalone addon and GP Premium.
|
|
require plugin_dir_path( __FILE__ ) . 'functions/functions.php';
|