| Server IP : 51.254.39.36 / Your IP : 216.73.217.109 Web Server : Microsoft-IIS/10.0 System : Windows NT WIN-12GDIEC772I 10.0 build 20348 (Windows Server 2022) AMD64 User : IWPD_21(allbatf787) ( 0) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Inetpub/vhosts/allbat-sb.fr/httpdocs/wp-content/plugins/kadence-pro/dist/scripts-addon/ |
Upload File : |
<?php
/**
* Class for the Customizer
*
* @package Kadence
*/
namespace Kadence_Pro;
use function Kadence\kadence;
/**
* Output header scripts.
*/
function header_scripts() {
$script = kadence()->option( 'header_scripts' );
if ( ! empty( $script ) ) {
echo $script;
}
}
add_action( 'wp_head', 'Kadence_Pro\header_scripts', 50 );
/**
* Output after body scripts.
*/
function after_body_scripts() {
$script = kadence()->option( 'after_body_scripts' );
if ( ! empty( $script ) ) {
echo $script;
}
}
add_action( 'wp_body_open', 'Kadence_Pro\after_body_scripts', 50 );
/**
* Output footer scripts.
*/
function footer_scripts() {
$script = kadence()->option( 'footer_scripts' );
if ( ! empty( $script ) ) {
echo $script;
}
}
add_action( 'wp_footer', 'Kadence_Pro\footer_scripts', 50 );