Astra_Header_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/header/social-icon/classes/class-astra-header-social-component-loader.php
public function theme_defaults( $defaults ) { $num_of_header_social_icons = astra_addon_builder_helper()->num_of_header_social_icons; // Divider header defaults. for ( $index = 1; $index <= $num_of_header_social_icons; $index++ ) { $defaults[ 'header-social-' . $index . '-stack' ] = 'none'; } return $defaults; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |