layers_add_additional_header_scripts

The Layers layers add additional header scripts function.

Description

layers_add_additional_header_scripts(); 

Usage

  1. if ( !function_exists( 'layers_add_additional_header_scripts' ) ) { 
  2. require_once '/core/helpers/template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = layers_add_additional_header_scripts(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/core/helpers/template.php  
  1. function layers_add_additional_header_scripts() { 
  2.  
  3. $add_additional_header_scripts = apply_filters( 'layers_header_scripts' , layers_get_theme_mod( 'header-custom-scripts' ) ); 
  4.  
  5. if( '' != $add_additional_header_scripts ) { 
  6. echo '<script>' , trim( htmlspecialchars_decode( $add_additional_header_scripts ) ) , '</script>';