updated plugin GP Premium version 2.1.1

This commit is contained in:
2021-12-20 13:41:59 +00:00
committed by Gitium
parent 132b46b78f
commit d5dbb2bde7
86 changed files with 2903 additions and 455 deletions

View File

@ -15,7 +15,7 @@ require_once trailingslashit( dirname( __FILE__ ) ) . 'woocommerce-colors.php';
require_once trailingslashit( dirname( __FILE__ ) ) . 'slideout-nav-colors.php';
if ( ! function_exists( 'generate_colors_customize_register' ) ) {
add_action( 'customize_register', 'generate_colors_customize_register' );
add_action( 'customize_register', 'generate_colors_customize_register', 5 );
/**
* Add our Customizer options.
*
@ -23,7 +23,6 @@ if ( ! function_exists( 'generate_colors_customize_register' ) ) {
* @param object $wp_customize The Customizer object.
*/
function generate_colors_customize_register( $wp_customize ) {
// Bail if we don't have our color defaults.
if ( ! function_exists( 'generate_get_color_defaults' ) ) {
return;

View File

@ -25,7 +25,6 @@ if ( ! function_exists( 'generate_colors_secondary_nav_customizer' ) ) {
* @param object $wp_customize The Customizer object.
*/
function generate_colors_secondary_nav_customizer( $wp_customize ) {
// Bail if Secondary Nav isn't activated.
if ( ! $wp_customize->get_section( 'secondary_nav_section' ) ) {
return;