Created
August 29, 2014 18:08
-
-
Save tormjens/43a26c2d7ac36a77f72e to your computer and use it in GitHub Desktop.
Change the visibility status of the LiveChat feature of Smart Settings.
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
<?php | |
function my_livechat_visible( $display ) { | |
return 'both'; // accepted values are 'both', 'admin', 'public' or 'none'. default is 'both' | |
} | |
add_filter( 'smart_settings_show_livechat_code', 'my_livechat_visible' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment