bp_platform_default_activity_types()
Return all the default activity of platform.
Description
Return
(array)
Source
File: bp-core/bp-core-functions.php
function bp_platform_default_activity_types() { $activity_type = apply_filters( 'bp_platform_default_activity_types', array( '0' => array( 'activity_name' => 'new_avatar', 'activity_label' => __( 'Member changes their profile photo', 'buddyboss' ) ), '1' => array( 'activity_name' => 'updated_profile', 'activity_label' => __( 'Member updates their profile details', 'buddyboss' ) ), '2' => array( 'activity_name' => 'new_member', 'activity_label' => __( 'Member registers to the site', 'buddyboss' ) ), '3' => array( 'activity_name' => 'friendship_created', 'activity_label' => __( 'Two members become connected', 'buddyboss' ) ), '4' => array( 'activity_name' => 'created_group', 'activity_label' => __( 'Member creates a group', 'buddyboss' ) ), '5' => array( 'activity_name' => 'joined_group', 'activity_label' => __( 'Member joins a group', 'buddyboss' ) ), '6' => array( 'activity_name' => 'group_details_updated', 'activity_label' => __( 'Group details are updated', 'buddyboss' ) ), '7' => array( 'activity_name' => 'bbp_topic_create', 'activity_label' => __( 'Member creates a forum discussion', 'buddyboss' ) ), '8' => array( 'activity_name' => 'bbp_reply_create', 'activity_label' => __( 'Member replies to a forum discussion', 'buddyboss' ) ) )); return $activity_type; }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.