Astra_Breadcrumbs_Loader::theme_defaults( array $defaults )
Set Options Default Values
Description
Parameters
- $defaults
-
(array) (Required) Astra options default value array.
Return
(array)
Source
File: inc/addons/breadcrumbs/class-astra-breadcrumbs-loader.php
public function theme_defaults( $defaults ) {
/**
* Breadcrumb Typography
*/
$defaults['breadcrumb-font-family'] = 'inherit';
$defaults['breadcrumb-font-weight'] = 'inherit';
$defaults['breadcrumb-text-transform'] = 'inherit';
/**
* Breadcrumb Responsive Colors
*/
$defaults['breadcrumb-text-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['breadcrumb-active-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['breadcrumb-hover-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['breadcrumb-separator-color'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['breadcrumb-bg-color'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['breadcrumb-spacing'] = array(
'desktop' => array(
'top' => '',
'right' => '',
'bottom' => '',
'left' => '',
),
'tablet' => array(
'top' => '',
'right' => '',
'bottom' => '',
'left' => '',
),
'mobile' => array(
'top' => '',
'right' => '',
'bottom' => '',
'left' => '',
),
'desktop-unit' => 'px',
'tablet-unit' => 'px',
'mobile-unit' => 'px',
);
/**
* Breadcrumb Font Defaults
*/
$defaults['breadcrumb-font-family'] = 'inherit';
$defaults['breadcrumb-font-weight'] = 'inherit';
$defaults['breadcrumb-text-transform'] = '';
$defaults['breadcrumb-font-size'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
'desktop-unit' => 'px',
'tablet-unit' => 'px',
'mobile-unit' => 'px',
);
return $defaults;
}
Expand full source code Collapse full source code View on Trac