friends_register_activity_actions

  • do_action( 'friends_register_activity_actions' )

    Source Reference:

    • Component: BuddyPress:: bp-friends
      File: /bp-friends/bp-friends-activity.php :: Trac Source Line: 52
      function friends_register_activity_actions() {
      	global $bp;
      
      	if ( !bp_is_active( 'activity' ) )
      		return false;
      
      	bp_activity_set_action( $bp->friends->id, 'friends_register_activity_action', __( 'New friendship created', 'buddypress' ) );
      
      	do_action( 'friends_register_activity_actions' );
      }
      add_action( 'bp_register_activity_actions', 'friends_register_activity_actions' );
      
      /**
       * Format the BuddyBar/admin bar notifications for the Friends component
       *
       * @package BuddyPress
       *
       * @param str $action The kind of notification being rendered
       * @param int $item_id The primary item id
      

Comments are closed.