/**
* 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();
Having universities and colleges consider choices to make groups myself otherwise around this slip, college students without doubt currently have a reasonable number of be concerned away from brand new following semester. Whether kinds try online or perhaps not, a projected 70% out-of children may take-out student education loans to help fund their went on training. Based on Student loan Champion, 69% off 2019 students whom grabbed away figuratively speaking registered article-grad lifestyle that have the typical $31,900 amassed when you look at the education loan obligations. Nationwide, there was already over $step 1.5 trillion accumulated in education loan personal debt. Fund and financial aid happen to be including higher sources of nervousness, very listed below are about three of the most common student loan cons to end.
Student loan payment scammers are able to turn upwards next to legitimate groups within the search engine results and sometimes create extensive perform to look genuine, encouraging to help pay back obligations. You can find various other projects one to scammers may apply so you can fraud stressed children.
Probably one of the most popular frauds, depending on the College Trader, ‘s the cutting-edge payment fraud, where a good scam artist also offers a range of services – loan forgiveness, finding the right interest levels or negotiating good loan terms – with the standing that scholar will pay a tiny fee upwards side of these properties, often the main loan amount or a flat fee.
You’ll find never any points where a borrower need to pay money at the start, and this are going to be a primary red-flag. Government student education loans fees a 1% default fee, and some private fund charge a world disbursement fee, but, relative to Federal Change Payment guidelines, its illegal to own businesses to charge consumers prior to it assistance to that loan.
Many scammers will endeavour in order to charges getting characteristics that students financing servicer currently does free-of-charge. A knowledgeable starting point for this is to prepare on the internet membership that have organization to make sure that individuals is tune advances and keep maintaining information from correspondence. In the event the a message or page appears suspicious, the web webpage can serve as a way of verifying the fresh legitimacy of any communications.
Immediately after these types of online profile was in fact build, it is vital to never give away log in information. Fraudsters usually claim to you would like usernames and you will passwords bad credit emergency cash loans in order to do money, however, this metropolises consumers inside a precarious status away from losing control of its profile, no genuine business manage actually demand this informative article.

Other common scam pertains to fraudsters stating in order to totally lose an effective borrower’s education loan loans. Instead an excellent federally being qualified need, such as college closing, identity theft, demise otherwise long lasting handicap, education loan obligations can never getting got rid of. There’s also no such material as fast mortgage forgiveness.
If the a third party organization even offers a package you to definitely appears too best that you become correct, it most likely is. Financing forgiveness try attained merely once enough being qualified costs are built, and there is no way to expedite this step to own government loans.
In identical vein, consumers should be cautious with any now offers that appear just like the minimal big date also provides pushing those in obligations to do something now in order to claim a world reward. As loan debt dont magically drop-off, there is certainly essentially you should not rush to generally meet people deadline having not come given from the an installment plan.
Fraudsters will render loan consolidation attributes when you are recharging a handling or management commission. not, government student loan consolidation can help you because of the debtor during the no charge anyway. Any business one claims to keeps an association to your Agency of Education to with ease consolidate financing will feel a fraud.
A final red flag to keep an eye away for is even in the event a buddies advertises with the social networking otherwise into se’s. If the a family was buying advertising, they fundamentally makes them seeking make money. Because the loan integration is a totally free service supplied by the newest government authorities, an as-cash providers could be a system in order to swindle consumers to your expenses getting otherwise totally free characteristics. Ergo, it certainly is vital that you lookup before offering personal data to any internet-based forms achieved due to ads.
On unfortunate event that someone comes across a fraud related to help you education loan obligations, individuals would be to declaration they towards the Government Trade Commission additionally the condition attorneys general’s work environment, both of and this depend heavily on individual issues so you’re able to free the fresh new student loan realm of fraudsters whenever possible.
]]>