Created
October 1, 2021 06:19
-
-
Save joychetry/502237cb6251c18060dbcf529a0d8e55 to your computer and use it in GitHub Desktop.
Exclude Header Scripts Chat Form Different Pages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Exclude Header Scripts Chat Form Different Pages | |
add_action('wp_head', 'joy_exclude_header'); | |
function joy_exclude_header(){ | |
if ( ! is_page( array(17896, 18006, 18040, 18749 ) ) ) { ?> | |
<script type="text/javascript"> | |
// DA SCRIPT | |
</script> | |
<?php | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment