WP_Media_List_Table::column_cb

Advertisement

Summery Summery

Handles the checkbox column output.

Syntax Syntax

WP_Media_List_Table::column_cb( WP_Post $post )

Parameters Parameters

$post

(WP_Post) (Required) The current WP_Post object.

Source Source

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

	/**
	 * @return array
	 */
	protected function get_sortable_columns() {
		return array(
			'title'    => 'title',
			'author'   => 'author',
			'parent'   => 'parent',
			'comments' => 'comment_count',
			'date'     => array( 'date', true ),
		);
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.