laipower/wp-content/plugins/gp-premium/secondary-nav/generate-secondary-nav.php

24 lines
563 B
PHP
Raw Normal View History

2020-04-07 13:03:04 +00:00
<?php
/**
* The Secondary Nav module.
*
* @since 1.0.0
*
* @package GP Premium
*/
2020-04-07 13:03:04 +00:00
if ( ! defined( 'ABSPATH' ) ) {
exit; // No direct access, please.
2020-04-07 13:03:04 +00:00
}
// Define the version.
2020-04-07 13:03:04 +00:00
if ( ! defined( 'GENERATE_SECONDARY_NAV_VERSION' ) ) {
define( 'GENERATE_SECONDARY_NAV_VERSION', GP_PREMIUM_VERSION );
}
// Include functions identical between standalone addon and GP Premium.
2020-04-07 13:03:04 +00:00
require plugin_dir_path( __FILE__ ) . 'functions/functions.php';
// Include secondary navigation color fields.
require plugin_dir_path( __FILE__ ) . 'fields/secondary-navigation.php';