diff options
Diffstat (limited to 'inc/customizer/configurations/builder/footer/class-astra-customizer-footer-social-icons-configs.php')
-rw-r--r-- | inc/customizer/configurations/builder/footer/class-astra-customizer-footer-social-icons-configs.php | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/inc/customizer/configurations/builder/footer/class-astra-customizer-footer-social-icons-configs.php b/inc/customizer/configurations/builder/footer/class-astra-customizer-footer-social-icons-configs.php new file mode 100644 index 0000000..e067724 --- /dev/null +++ b/inc/customizer/configurations/builder/footer/class-astra-customizer-footer-social-icons-configs.php @@ -0,0 +1,49 @@ +<?php +/** + * Astra Theme Customizer Configuration Builder. + * + * @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' ) ) { + return; +} + +/** + * Social Icons Customizer Configurations. + * + * @since 3.0.0 + */ +class Astra_Customizer_Footer_Social_Icons_Configs extends Astra_Customizer_Config_Base { + + /** + * Social Icons 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 ) { + + $configurations = Astra_Social_Icon_Component_Configs::register_configuration( $configurations, 'footer', 'section-fb-social-icons-' ); + + return $configurations; + } +} + +/** + * Kicking this off by creating object of this class. + */ + +new Astra_Customizer_Footer_Social_Icons_Configs(); + |