public function manage_page_type_posts_columns( array $defaults = [] ) {
		if ( ! in_array( $this->post_type, papi_get_post_types(), true ) && ! in_array( $this->taxonomy, papi_get_taxonomies(), true ) ) {
			return $defaults;
		}

		/**
		 * Hide column for post or taxonomy type. Default is false.
		 *
		 * @param string $post_type
		 */
		if ( apply_filters( 'papi/settings/column_hide_' . $this->get_meta_type_value(), false ) ) {
			return $defaults;
		}

		/**
		 * Change column title for entry type column.
		 *
		 * @param string $post_type
		 */
		$defaults['entry_type'] = apply_filters(
			'papi/settings/column_title_' . $this->get_meta_type_value(),
			esc_html__( 'Type', 'papi' )
		);

		return $defaults;
	}
public function manage_page_type_posts_columns( array $defaults = [] ) {
		if ( ! in_array( $this->post_type, papi_get_post_types(), true ) && ! in_array( $this->taxonomy, papi_get_taxonomies(), true ) ) {
			return $defaults;
		}

		/**
		 * Hide column for post or taxonomy type. Default is false.
		 *
		 * @param string $post_type
		 */
		if ( apply_filters( 'papi/settings/column_hide_' . $this->get_meta_type_value(), false ) ) {
			return $defaults;
		}

		/**
		 * Change column title for entry type column.
		 *
		 * @param string $post_type
		 */
		$defaults['entry_type'] = apply_filters(
			'papi/settings/column_title_' . $this->get_meta_type_value(),
			esc_html__( 'Type', 'papi' )
		);

		return $defaults;
	}
public function manage_page_type_posts_columns ( array $ defaults = [ ] ) { if ( ! in_array ( $ this -> post_type , papi_get_post_types ( ) , true ) && ! in_array ( $ this -> taxonomy , papi_get_taxonomies ( ) , true ) ) { return $ defaults ; } /**
		 * Hide column for post or taxonomy type. Default is false.
		 *
		 * @param string $post_type
		 */ if ( apply_filters ( 'papi/settings/column_hide_' . $ this -> get_meta_type_value ( ) , false ) ) { return $ defaults ; } /**
		 * Change column title for entry type column.
		 *
		 * @param string $post_type
		 */ $ defaults [ 'entry_type' ] = apply_filters ( 'papi/settings/column_title_' . $ this -> get_meta_type_value ( ) , esc_html__ ( 'Type' , 'papi' ) ) ; return $ defaults ; }
Add custom table header to page or taxonomy type.

@param  array $defaults

@return array
Add custom table header to page or taxonomy type .