bp_group_has_moderators

  • apply_filters( 'bp_group_has_moderators', groups_get_group_mods( $group->id ) )

    Source Reference:

    • Component: BuddyPress :: bp-groups
      File: /bp-groups/bp-groups-template.php :: Trac Source Line: 1151
      	<?php }
      }
      
      function bp_group_has_moderators( $group = false ) {
      	global $group_mods, $groups_template;
      
      	if ( !$group )
      		$group =& $groups_template->group;
      
      	return apply_filters( 'bp_group_has_moderators', groups_get_group_mods( $group->id ) );
      }
      
      function bp_group_member_promote_mod_link( $args = '' ) {
      	echo bp_get_group_member_promote_mod_link( $args );
      }
      	function bp_get_group_member_promote_mod_link( $args = '' ) {
      		global $members_template, $groups_template, $bp;
      
      		$defaults = array(
      			'user_id' => $members_template->member->user_id,
      

Comments are closed.