%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/tif/Avada-child/
Upload File :
Create Path :
Current File : //home/tif/Avada-child/functions.php

<?php
// Exit if accessed directly
if ( !defined( 'ABSPATH' ) ) exit;

// BEGIN ENQUEUE PARENT ACTION
// AUTO GENERATED - Do not modify or remove comment markers above or below:

if ( !function_exists( 'chld_thm_cfg_locale_css' ) ):
    function chld_thm_cfg_locale_css( $uri ){
        if ( empty( $uri ) && is_rtl() && file_exists( get_template_directory() . '/rtl.css' ) )
            $uri = get_template_directory_uri() . '/rtl.css';
        return $uri;
    }
endif;
add_filter( 'locale_stylesheet_uri', 'chld_thm_cfg_locale_css' );

if ( !function_exists( 'chld_thm_cfg_parent_css' ) ):
    function chld_thm_cfg_parent_css() {
        wp_enqueue_style( 'chld_thm_cfg_parent', trailingslashit( get_template_directory_uri() ) . 'style.css', array( 'avada-stylesheet','avada-max-1c','avada-max-2c','avada-min-2c-max-3c','avada-min-3c-max-4c','avada-min-4c-max-5c','avada-min-5c-max-6c','avada-min-shbp','avada-max-shbp','avada-max-sh-shbp','avada-min-768-max-1024-p','avada-min-768-max-1024-l','avada-max-sh-cbp','avada-max-sh-sbp','avada-max-sh-640','avada-max-shbp-18','avada-max-shbp-32','avada-min-sh-cbp','avada-max-640','avada-max-640-gravity','avada-max-sh-cbp-gravity','avada-max-sh-cbp-cf7','avada-max-640-sliders','avada-max-sh-cbp-sliders','avada-max-768-ec','avada-max-sh-cbp-ec' ) );
    }
endif;
add_action( 'wp_enqueue_scripts', 'chld_thm_cfg_parent_css', 10 );
         
if ( !function_exists( 'child_theme_configurator_css' ) ):
    function child_theme_configurator_css() {
        wp_enqueue_style( 'chld_thm_cfg_child', trailingslashit( get_stylesheet_directory_uri() ) . 'style.css', array( 'chld_thm_cfg_parent' ) );
        wp_enqueue_style( 'custom-style', trailingslashit( get_stylesheet_directory_uri() ) . 'custom-style.css' );
    }
endif;
add_action( 'wp_enqueue_scripts', 'child_theme_configurator_css', 10 );


// END ENQUEUE PARENT ACTION

add_filter( 'gform_date_min_year', 'set_min_year' );
function set_min_year( $min_year ) {
    return 2020;
}


Zerion Mini Shell 1.0