xprofile_register_activity_actions

  • do_action( 'xprofile_register_activity_actions' )

    Source Reference:

    • Component: BuddyPress:: bp-xprofile
      File: /bp-xprofile/bp-xprofile-activity.php :: Trac Source Line: 25
      	global $bp;
      
      	if ( bp_is_active( 'activity' ) )
      		return false;
      
      	// Register the activity stream actions for this component
      	bp_activity_set_action( $bp->profile->id, 'new_member',      __( 'New member registered', 'buddypress' ) );
      	bp_activity_set_action( $bp->profile->id, 'updated_profile', __( 'Updated Profile',       'buddypress' ) );
      
      	do_action( 'xprofile_register_activity_actions' );
      }
      add_action( 'bp_register_activity_actions', 'xprofile_register_activity_actions' );
      
      /**
       * Records activity for the logged in user within the profile component so that
       * it will show in the users activity stream (if installed)
       *
       * @package BuddyPress XProfile
       * @param $args Array containing all variables used after extract() call
       * @global $bp The global BuddyPress settings variable created in bp_core_current_times()
      

Comments are closed.