WP_Comments_List_Table::get_columns()


Description Description


Return Return

(array)


Top ↑

Source Source

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

	public function get_columns() {
		global $post_id;

		$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;
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.