print_footer_scripts filter-hook . WP 2.8.0
Filters whether to print the footer scripts.
Usage
add_filter( 'print_footer_scripts', 'filter_function_name_3723' ); function filter_function_name_3723( $print ){ // filter... return $print; }
- $print(true/false)
- Whether to print the footer scripts.
Default: true
Changelog
Since 2.8.0 | Introduced. |
Where the hook is called
print_footer_scripts
wp-includes/script-loader.php 1888
if ( apply_filters( 'print_footer_scripts', true ) ) {