userpro_user_profile_url

This filter hook helps you modify the profile permalink for users which is the frontend user profile by default. For example, If you want to convert all frontend profile links to specific user pages (Author archive, etc.) Usage Example Here is an example of using this hook to modify the […]

userpro_before_value_is_displayed

This filter hook runs before the profile information (custom fields) are displayed in User Profile. Allowing you to tweak and integrate whatever functions or conditions you need to apply to the returned custom field value. Usage Example This is an example that modifies the custom field value of user gender […]

userpro_show_badges

Description This function will output all user earned badges. Usage

Parameters $user_id – User ID (required) $inline – Display user badges inline or as a block (Default to false) Returns This will return the user badges Examples Display the badges of user’s ID 5

Display user’s badges of a comment […]

userpro_profile_data

Description This function can output any profile information for a given user. For example, to display user’s display name, role, or any other custom field with PHP. Usage

Parameters $field – Custom field to retrieve $user_id – User ID (required) Returns Return the value of custom field stored for that user […]

user_exists

Description This function checks if user exists in your system or not. Usage

Parameters $user_id – The user’s ID you want to check If it exists or not Returns Return true if user exists, and false if user does not exist. Examples

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 […]

Upgrading

There are two ways to upgrade UserPro to the latest version. Do not worry! You will not lose any settings or custom fields If you upgrade using the following instructions. Method 1: Upgrading via the WordPress dashboard Login to your site via WordPress dashboard Remove the current UserPro plugin (old […]

Reinstalling UserPro

This option will reset plugin to factory settings including all fields and initial pages. When something goes wrong, you can always try to reset UserPro to factory settings by re-installing it completely from the plugin admin panel. Access your WordPress dashboard and navigate to UserPro > Customize Fields after that click on […]

Default Setup

When you activate UserPro, the plugin will automatically create the necessary frontend pages, and installs default settings. You’re ready to use it immediately without doing any changes. The plugin automatically creates: Profile Pages Default Fields Default Forms (Register / Login / Profile) If for some reason, the fields appear missing […]

Installing UserPro

If you have just purchased UserPro, please make sure to download the most updated version of the plugin (which is available through our customer portal only) The first step is to make sure you already have the latest code running from here.