PHP Functions

If you need you have a set of php functions to interact with the plugin without the need of using shortcodes. Be sure to wrap all your functions in a function_exists() block to avoid fatal errors when plugin is not enabled. Eg:

function_exists

Targeting functions

Info functions

PHP in AJAX mode

When you run AJAX mode to bypass the cache you can't use the PHP functions as before. In this case you have two alternatives, use shortcodes or use the special AJAX functions located in includes/functions-ajax.php like this:

Check out our WordPress geolocation solutions
to find out everything you can do!

Start your free trial