bp_get_profile_last_updated

  • apply_filters( 'bp_get_profile_last_updated', sprintf( __('Profile updated %s', 'buddypress'), bp_core_time_since( strtotime( $last_updated ) ) ) )

    Source Reference:

    • Component: BuddyPress :: bp-xprofile
      File: /bp-xprofile/bp-xprofile-template.php :: Trac Source Line: 770
      		echo $last_updated;
      	}
      }
      	function bp_get_profile_last_updated() {
      		global $bp;
      
      		$last_updated = bp_get_user_meta( $bp->displayed_user->id, 'profile_last_updated', true );
      
      		if ( $last_updated )
      			return apply_filters( 'bp_get_profile_last_updated', sprintf( __('Profile updated %s', 'buddypress'), bp_core_time_since( strtotime( $last_updated ) ) ) );
      
      		return false;
      	}
      
      function bp_current_profile_group_id() {
      	echo bp_get_current_profile_group_id();
      }
      	function bp_get_current_profile_group_id() {
      		if ( !$profile_group_id = bp_action_variable( 1 ) )
      			$profile_group_id = 1;
      

Comments are closed.