Astra_Ext_Typography_Loader::prepare_social_icons_defaults( array $defaults, integer $index )
Prepare Social Icons Defaults.
Description
Parameters
- $defaults
-
(array) (Required) defaults.
- $index
-
(integer) (Required) index.
Return
(array)
Source
File: addons/typography/classes/class-astra-ext-typography-loader.php
public function prepare_social_icons_defaults( $defaults, $index ) { $defaults[ 'font-family-section-hb-social-icons-' . $index ] = 'inherit'; $defaults[ 'font-weight-section-hb-social-icons-' . $index ] = 'inherit'; $defaults[ 'text-transform-section-hb-social-icons-' . $index ] = ''; $defaults[ 'line-height-section-hb-social-icons-' . $index ] = ''; return $defaults; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |