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 the BuddyPress Profile Pro menu option to the admin panel’s menu structure to provide the 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 types. Using this field type can be added in the Field Type dropdown only. Saving and showing field data needs to be done manually with the 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 an extra group.

Public Actions

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

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

Template Overrides

You can override the template inside the child theme at the following path:
child-theme/BuddyPress-profile-pro/
Update on May 26, 2022