Plugin’s hooks and filters

Plugin’s Constants #

WBBPP_PLUGIN_PATH: The file system directory path for the plugin.
WBBPP_PLUGIN_URL: The URL of the directory that contains the plugin

Admin Actions #

Action: admin_enqueue_scripts
Description: It is used for enqueuing both scripts and styles at the admin end.
Action: admin_menu
Description: This action is used to add BuddyPress Profile Pro menu option to the admin panel’s menu structure to provide plugin’s admin settings.
Action: admin_init
Description: This action is used to register BuddyPress Profile Pro plugin wp-admin settings by registering plugin settings.

Available Filters #

Filter to add extra field type
Filter : wbbpp_add_extra_field_types
Parameters: $field_types(array)
Description: This filter is used for adding extra field type. Using this a field type can be added in the Field Type dropdown only. Saving and showing field data needs to be done manually with help of provided filters.
Filter to add extra group
Filter : wb_wbbpp_profile_groups
Parameters : $grp_args(array)
Description: This filter is used for adding extra group.

Public Actions #

Action: wp_enqueue_scripts
Description: It is used for enqueuing both scripts and styles at frontend.
Action: bp_setup_nav
Description: It is used for registering plugin Extended Fields menu item at BuddyPress profile page.
Action: bp_after_profile_loop_content
Description:
It is used for listing plugin’s extended fields at buddyPress profile view page.
Action: bp_ajax_querystring

Description: It is used for altering search for extended fields data availability at a member’s directory page.

Template Overrides #

You can override template inside the child theme at the following path
child-theme/buddypress-profile-pro/
logo