Skip to content

Instantly share code, notes, and snippets.

@timersys
Created January 19, 2021 14:11
Embed
What would you like to do?
Wrap functions to be safe
<?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