/**
* Sticky Header - Customizer.
*
* @package Astra Addon
* @since 1.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
if ( ! class_exists( 'Astra_Ext_Transparent_Header_Loader' ) ) {
/**
* Customizer Initialization
*
* @since 1.0.0
*/
class Astra_Ext_Transparent_Header_Loader {
/**
* Member Variable
*
* @var instance
*/
private static $instance;
/**
* Initiator
*/
public static function get_instance() {
if ( ! isset( self::$instance ) ) {
self::$instance = new self();
}
return self::$instance;
}
/**
* Constructor
*/
public function __construct() {
add_filter( 'astra_theme_defaults', array( $this, 'theme_defaults' ) );
add_action( 'customize_preview_init', array( $this, 'preview_scripts' ) );
add_action( 'customize_register', array( $this, 'customize_register' ), 2 );
}
/**
* Set Options Default Values
*
* @param array $defaults Astra options default value array.
* @return array
*/
public function theme_defaults( $defaults ) {
// Header - Transparent.
$defaults['transparent-header-logo'] = '';
$defaults['transparent-header-retina-logo'] = '';
$defaults['different-transparent-logo'] = 0;
$defaults['different-transparent-retina-logo'] = 0;
$defaults['transparent-header-logo-width'] = array(
'desktop' => 150,
'tablet' => 120,
'mobile' => 100,
);
$defaults['transparent-header-enable'] = 0;
$defaults['transparent-header-disable-archive'] = 1;
$defaults['transparent-header-disable-latest-posts-index'] = 1;
$defaults['transparent-header-on-devices'] = 'both';
$defaults['transparent-header-main-sep'] = '';
$defaults['transparent-header-main-sep-color'] = '';
/**
* Transparent Header
*/
$defaults['transparent-header-bg-color'] = '';
$defaults['transparent-header-color-site-title'] = '';
$defaults['transparent-header-color-h-site-title'] = '';
$defaults['transparent-menu-bg-color'] = '';
$defaults['transparent-menu-color'] = '';
$defaults['transparent-menu-h-color'] = '';
$defaults['transparent-submenu-bg-color'] = '';
$defaults['transparent-submenu-color'] = '';
$defaults['transparent-submenu-h-color'] = '';
/**
* Transparent Header Responsive Colors
*/
$defaults['transparent-header-bg-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-header-color-site-title-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-header-color-h-site-title-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-menu-bg-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-menu-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-menu-h-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-submenu-bg-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-submenu-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-submenu-h-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-content-section-text-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-content-section-link-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
$defaults['transparent-content-section-link-h-color-responsive'] = array(
'desktop' => '',
'tablet' => '',
'mobile' => '',
);
return $defaults;
}
/**
* Add postMessage support for site title and description for the Theme Customizer.
*
* @param WP_Customize_Manager $wp_customize Theme Customizer object.
*/
public function customize_register( $wp_customize ) {
// @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
/**
* Register Panel & Sections
*/
require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/class-astra-transparent-header-panels-and-sections.php';
/**
* Sections
*/
require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/sections/class-astra-customizer-colors-transparent-header-configs.php';
// Check Transparent Header is activated.
require_once ASTRA_THEME_TRANSPARENT_HEADER_DIR . 'classes/sections/class-astra-customizer-transparent-header-configs.php';
// @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
}
/**
* Customizer Preview
*/
public function preview_scripts() {
/**
* Load unminified if SCRIPT_DEBUG is true.
*/
/* Directory and Extension */
$dir_name = ( SCRIPT_DEBUG ) ? 'unminified' : 'minified';
$file_prefix = ( SCRIPT_DEBUG ) ? '' : '.min';
wp_enqueue_script( 'astra-transparent-header-customizer-preview-js', ASTRA_THEME_TRANSPARENT_HEADER_URI . 'assets/js/' . $dir_name . '/customizer-preview' . $file_prefix . '.js', array( 'customize-preview', 'astra-customizer-preview-js' ), ASTRA_THEME_VERSION, true );
// Localize variables for further JS.
wp_localize_script(
'astra-transparent-header-customizer-preview-js',
'AstraBuilderTransparentData',
array(
'is_astra_hf_builder_active' => Astra_Builder_Helper::$is_header_footer_builder_active,
'is_flex_based_css' => Astra_Builder_Helper::apply_flex_based_css(),
)
);
}
}
}
/**
* Kicking this off by calling 'get_instance()' method
*/
Astra_Ext_Transparent_Header_Loader::get_instance();
We encourage you of the significance of looking over this Individual-Studies Coverage Policy any time you are going to have fun with all of our Webpages, as it may feel susceptible to transform.

BBVAMF treats a analysis that have complete confidentiality. I accept to keep your privacy and you may make sure we shall store the information following all requisite actions to avoid her or him are altered, forgotten, utilized or processed as opposed to due authorisation, pursuant to the courtroom obligations relevant so you can you since the guardians out of the personal investigation your entrust to help you united states.
BBVAMF provides adopted the highest amounts of shelter necessary for laws to safeguard your analysis, and you will retains these types of levels to cease random losses or unauthorised access, control or revelation. We change cover in line with the most recent technology, the sort of your studies stored in addition to threats that he could be open.
For many who provide us with private information otherwise information on other person, youre and when obligations to adhere to study shelter statutes and you can for received its early in the day agree since the relevant and has actually told him or her of the use one to BBVAMF can make of such study pursuant compared to that Plan.
We are going to keep your analysis only unless you intend to end getting Progreso, and simply on period of time created in the brand new Cookies Coverage.

We’re going to maybe not assign a study in order to businesses unless of course we are required to achieve this legally or when you decided to the task.
Once we you desire the consent to show personal information to third events, the models get together important computer data will state you away from how we can use them, and that analysis will be presented as well as the name or business sectors of the parties to which we possibly may assign the information.
To offer you the ideal provider and you will would the partnership we has to you just like the your readers, your computer data try canned of the a contact company we have leased exclusively for sending out Progreso. With similar openness, you can request the latest Snacks Plan of your third parties one found private information using snacks from our Website.
All of our Site spends a sensation entitled cookies. For additional detailed information to the just how BBVAMF spends the fresh new cookies, listed below are some our Snacks Policy here.
Your website can get include links some other websites. Please bear in mind that BBVAMF isnt responsible for this new confidentiality and you will therapy given to personal information with the most other other sites. It document to your our very own-Data Safeguards Coverage is solely relevant towards the recommendations built-up into all of our Website by the BBVAMF. It is recommended that your take a look at guidelines of personal information towards the others websites that you link to through all of our Site or that you might go to from any other supply. You are able to obtain a long list of the Hyperlinks Coverage into the our Legal Disclaimer right here.
When Pages supply and rehearse of the Web site this means they has approved the whole Small print of your own Web site and you will try required to completely comply with them. Therefore, Users would be to discover these Conditions useful having attention ahead of basic with the Webpages, and you can do the exact same once they want to utilize the Web site subsequently, while they could be at the mercy of change, where Users was told when accessing the site on the future times. BBVAMF supplies the legal right to update, personalize and you may delete these Web site Small print.
BBVAMF’s bill of your own telecommunications discussed within condition doesn’t mean, pursuant to the LSSI, it features active experience in the activities and you can/otherwise stuff shown by the revealing group if this is not sometimes known otherwise care about-apparent. In all events, BBVAMF supplies the right to suspend or withdraw the message you to definitely, actually in which licit, try up against the requirements established in these Criteria helpful, always determining brand new courtroom items inside per conflict.
Within document, we offer information about exactly how we dump information one BBVAMF get from our Site. Please be aware www.elitecashadvance.com/installment-loans-mn/appleton it does not apply at data that third people can get receive with the almost every other other sites, regardless of if these are reached as a consequence of website links from our Webpages.
]]>