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)
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>'; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |