WP_Posts_List_Table::column_author() – Handles the post author column output.

You appear to be a bot. Output may be restricted

Description

Handles the post author column output.

Usage

WP_Posts_List_Table::column_author( $post );

Parameters

$post
( WP_Post ) required – The current WP_Post object.

Returns

void

Source

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

1 to 7 of 7
  public function column_author( $post ) {
    $args = array(
      'post_type' => $post->post_type,
      'author'    => get_the_author_meta( 'ID' ),
    );
    echo $this->WP_Posts_List_Table::get_edit_link( $args, get_the_author() );
  }
 

 View on GitHub View on Trac