layers_add_additional_footer_scripts

The Layers layers add additional footer scripts function.

Description

layers_add_additional_footer_scripts(); 

Usage

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

Defined (1)

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

/core/helpers/template.php  
  1. function layers_add_additional_footer_scripts() { 
  2.  
  3. $additional_footer_scripts = apply_filters( 'layers_footer_scripts' , layers_get_theme_mod( 'footer-custom-scripts' ) ); 
  4.  
  5. if( '' != $additional_footer_scripts ) { 
  6. echo '<script>' , stripslashes( htmlspecialchars_decode( $additional_footer_scripts ) ) , '</script>';