shopp_print_head_scripts

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

add_filter( 'shopp_print_head_scripts', [callback] )

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

Description

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

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

Example

// register filter callback
add_filter('shopp_print_head_scripts', 'shopp_print_head_scripts_fltr');

// create filter function
function shopp_print_head_scripts_fltr( $override ) {
    // disable header 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