Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
gilour
/
wp-content
/
plugins
/
kadence-pro
/
dist
/
scripts-addon
:
scripts-options.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php /** * Woocommerce Trigger Cart when Product added Options. * * @package Kadence_Pro */ namespace Kadence_Pro; use Kadence\Theme_Customizer; use function Kadence\kadence; Theme_Customizer::add_settings( array( 'header_scripts' => array( 'type' => 'code_editor', 'section' => 'scripts', 'priority' => 11, 'code_type' => 'text/js', 'default' => kadence()->default( 'header_scripts' ), 'label' => esc_html__( 'Add scripts into your header', 'kadence-pro' ), ), 'after_body_scripts' => array( 'type' => 'code_editor', 'section' => 'scripts', 'priority' => 11, 'code_type' => 'text/js', 'default' => kadence()->default( 'after_body_scripts' ), 'label' => esc_html__( 'Add scripts right after opening body tag', 'kadence-pro' ), ), 'footer_scripts' => array( 'type' => 'code_editor', 'section' => 'scripts', 'priority' => 11, 'code_type' => 'text/js', 'default' => kadence()->default( 'footer_scripts' ), 'label' => esc_html__( 'Add scripts into your footer', 'kadence-pro' ), ), ) );