lib/Post_Type_Columns.php
public function columns( $columns ) {
		foreach ( $this->columns as $slug => $column ) {
			// Columns can be removed when they are set to 'false'
			if ( false === $column ) {
				unset( $columns[ $slug ] );
				continue;
			}

			$columns[ $slug ] = $column['title'];
		}

		return $columns;
	}
public function columns( $columns ) {
		foreach ( $this->columns as $slug => $column ) {
			// Columns can be removed when they are set to 'false'
			if ( false === $column ) {
				unset( $columns[ $slug ] );
				continue;
			}

			$columns[ $slug ] = $column['title'];
		}

		return $columns;
	}
public function columns ( $ columns ) { foreach ( $ this -> columns as $ slug => $ column ) { // Columns can be removed when they are set to 'false' if ( false === $ column ) { unset ( $ columns [ $ slug ] ) ; continue ; } $ columns [ $ slug ] = $ column [ 'title' ] ; } return $ columns ; }
Filters columns for post list view.

@param array $columns An array of existing columns.

@return array Filtered array.
Filters columns for post list view .