UserPro is powered by a solid and powerful yet very easy API and functions that can help you do a lot of stuff just by writing little code. All available API functions will be introduced in this guide. Please read the introduction If you are new to UserPro API. You should have at least a minimal PHP knowledge to use and apply these functions in production mode.
Read the introduction first before exploring the functions. The functions will be listed in alphabetic order.
Introduction to UserPro API
In order to use any of the API functions, you must define a global at the top of your PHP file. This global will tell UserPro that you can access all functions and features of the API. Here is what you need to add to access the API:
<?php global $userp ?>