WP_Posts_List_Table::_column_title() WordPress Method

The WP_Posts_List_Table::_column_title() method is used to display the post title column in the Posts list table. This method takes a single parameter, the post ID, and outputs the post title.

WP_Posts_List_Table::_column_title( WP_Post $post, string $classes, string $data, string $primary ) #


Parameters

$post

(WP_Post)(Required)

$classes

(string)(Required)

$data

(string)(Required)

$primary

(string)(Required)


Top ↑

Source

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

	protected function _column_title( $post, $classes, $data, $primary ) {
		echo '<td class="' . $classes . ' page-title" ', $data, '>';
		echo $this->column_title( $post );
		echo $this->handle_row_actions( $post, 'title', $primary );
		echo '</td>';
	}


Top ↑

Changelog

Changelog
VersionDescription
4.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.