45 lines
1.1 KiB
PHP
45 lines
1.1 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* Astra Theme Customizer Configuration Above footer.
|
||
|
*
|
||
|
* @package astra-builder
|
||
|
* @author Astra
|
||
|
* @copyright Copyright (c) 2020, Astra
|
||
|
* @link https://wpastra.com/
|
||
|
* @since 3.0.0
|
||
|
*/
|
||
|
|
||
|
// No direct access, please.
|
||
|
if ( ! defined( 'ABSPATH' ) ) {
|
||
|
exit;
|
||
|
}
|
||
|
|
||
|
if ( class_exists( 'Astra_Customizer_Config_Base' ) ) {
|
||
|
|
||
|
/**
|
||
|
* Register Above footer Customizer Configurations.
|
||
|
*
|
||
|
* @since 3.0.0
|
||
|
*/
|
||
|
class Astra_Customizer_Above_Footer_Configs extends Astra_Customizer_Config_Base {
|
||
|
|
||
|
/**
|
||
|
* Register Builder Above Customizer Configurations.
|
||
|
*
|
||
|
* @param Array $configurations Astra Customizer Configurations.
|
||
|
* @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager.
|
||
|
* @since 3.0.0
|
||
|
* @return Array Astra Customizer Configurations with updated configurations.
|
||
|
*/
|
||
|
public function register_configuration( $configurations, $wp_customize ) {
|
||
|
$_configs = astra_above_footer_configuration();
|
||
|
return array_merge( $configurations, $_configs );
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Kicking this off by creating object of this class.
|
||
|
*/
|
||
|
new Astra_Customizer_Above_Footer_Configs();
|
||
|
}
|