WP_Media_List_Table::column_author() – Handles the author column output.

You appear to be a bot. Output may be restricted

Description

Handles the author column output.

Usage

WP_Media_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-media-list-table.php
Lines:

1 to 7 of 7
  public function column_author( $post ) {
    printf(
      '<a href="%s">%s</a>',
      esc_url( add_query_arg( array( 'author' => get_the_author_meta( 'ID' ) ), 'upload.php' ) ),
      get_the_author()
    );
  }
 

 View on GitHub View on Trac