WP_Comments_List_Table::get_columns

Advertisement

Syntax Syntax

WP_Comments_List_Table::get_columns()

Return Return

(array)

Source Source

File: wp-admin/includes/class-wp-comments-list-table.php

		$columns = array();

		if ( $this->checkbox ) {
			$columns['cb'] = '<input type="checkbox" />';
		}

		$columns['author']  = __( 'Author' );
		$columns['comment'] = _x( 'Comment', 'column name' );

		if ( ! $post_id ) {
			/* translators: Column name or table row header. */
			$columns['response'] = __( 'In response to' );
		}

		$columns['date'] = _x( 'Submitted on', 'column name' );

		return $columns;
	}

	/**

Advertisement

Advertisement

Leave a Reply