WP_Media_List_Table::get_sortable_columns

Advertisement

Syntax Syntax

WP_Media_List_Table::get_sortable_columns()

Return Return

(array)

Source Source

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

			if ( post_type_supports( 'attachment', 'comments' ) ) {
				$posts_columns['comments'] = '<span class="vers comment-grey-bubble" title="' . esc_attr__( 'Comments' ) . '"><span class="screen-reader-text">' . __( 'Comments' ) . '</span></span>';
			}
		}
		/* translators: Column name. */
		$posts_columns['date'] = _x( 'Date', 'column name' );
		/**
		 * Filters the Media list table columns.
		 *

Advertisement

Advertisement

Leave a Reply