groups_group_slug_before_save

  • apply_filters( 'groups_group_slug_before_save',         $this->slug,         $this->id )

    Source Reference:

    • Component: BuddyPress :: bp-groups
      File: /bp-groups/bp-groups-classes.php :: Trac Source Line: 62
      			}
      		}
      	}
      
      	function save() {
      		global $wpdb, $bp;
      
      		$this->creator_id   = apply_filters( 'groups_group_creator_id_before_save',   $this->creator_id,   $this->id );
      		$this->name         = apply_filters( 'groups_group_name_before_save',         $this->name,         $this->id );
       		$this->slug         = apply_filters( 'groups_group_slug_before_save',         $this->slug,         $this->id );
      		$this->description  = apply_filters( 'groups_group_description_before_save',  $this->description,  $this->id );
       		$this->status       = apply_filters( 'groups_group_status_before_save',       $this->status,       $this->id );
      		$this->enable_forum = apply_filters( 'groups_group_enable_forum_before_save', $this->enable_forum, $this->id );
      		$this->date_created = apply_filters( 'groups_group_date_created_before_save', $this->date_created, $this->id );
      
      		do_action_ref_array( 'groups_group_before_save', array( &$this ) );
      
      		if ( !empty( $this->id ) ) {
      			$sql = $wpdb->prepare(
      				"UPDATE {$bp->groups->table_name} SET
      

Comments are closed.