Astra_Footer_Social_Component_Loader::theme_defaults( array $defaults )

Default customizer configs.


Description


Parameters

$defaults

(array) (Required) Astra options default value array.


Source

File: classes/builder/type/footer/social-icon/classes/class-astra-footer-social-component-loader.php

	public function theme_defaults( $defaults ) {

		$num_of_footer_social_icons = astra_addon_builder_helper()->num_of_footer_social_icons;

		// Divider footer defaults.
		for ( $index = 1; $index <= $num_of_footer_social_icons; $index++ ) {

			$defaults[ 'footer-social-' . $index . '-stack' ] = 'none';
		}

		return $defaults;
	}

Changelog

Changelog
Version Description
3.0.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.