bp_group_leave_confirm_link

  • apply_filters( 'bp_group_leave_confirm_link', wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group/yes', 'groups_leave_group' ) )

    Source Reference:

    • Component: BuddyPress :: bp-groups
      File: /bp-groups/bp-groups-template.php :: Trac Source Line: 1436
      function bp_group_leave_confirm_link() {
      	echo bp_get_group_leave_confirm_link();
      }
      	function bp_get_group_leave_confirm_link( $group = false ) {
      		global $groups_template, $bp;
      
      		if ( !$group )
      			$group =& $groups_template->group;
      
      		return apply_filters( 'bp_group_leave_confirm_link', wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group/yes', 'groups_leave_group' ) );
      	}
      
      function bp_group_leave_reject_link() {
      	echo bp_get_group_leave_reject_link();
      }
      	function bp_get_group_leave_reject_link( $group = false ) {
      		global $groups_template, $bp;
      
      		if ( !$group )
      			$group =& $groups_template->group;
      

Comments are closed.