Created
January 19, 2021 14:11
-
-
Save timersys/262d9590ca36a8e64bb9f3ab19fc0a0e to your computer and use it in GitHub Desktop.
Wrap functions to be safe
This file contains hidden or 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 | |
if( function_exists( 'geot_target' ) ) { | |
if( geot_target( 'AR' ) ) { | |
echo 'Only show to Argentina'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment