shopp_print_footer_scripts

filters the override value allowing footer scripts to be printed or not.

add_filter( 'shopp_print_footer_scripts', [callback] )

@param bool $override true when footer scripts may be printed, false to prevent footer scripts from being printed.

Description

filters the override value allowing footer scripts to be printed or not.

The filter should return true to allow footer scripts to print, and false to disable them.

Example

// register filter callback
add_filter('shopp_print_footer_scripts', 'shopp_print_footer_scripts_fltr');

// create filter function
function shopp_print_footer_scripts_fltr( $override ) {
    // disable footer scripts
    $override = false;
    return $override;
}

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar