Created
July 22, 2019 18:37
-
-
Save dancameron/f61f8e4431ae15c07c665ad13bd59a50 to your computer and use it in GitHub Desktop.
Customization Based on Client Type
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 // don't include this line in your functions.php, since it already starts with it. | |
switch ( SI_Client_Categories::get_client_type( si_get_client_id() ) ) { | |
case 'client-type-slug1': | |
"do something"; | |
break; | |
case 'client-type-slug2': | |
"do something for this slug"; | |
break; | |
default: | |
// do nothing | |
break; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment