PHP Класс WPCOM_VIP_Featured_Plugins_List_Table, vip-mu-plugins-public

Наследование: extends WP_List_Table
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$_column_headers Setting this variable won't run the filter at all
$filter string Filter the featured plugin list? Used to separate new layout

Открытые методы

Метод Описание
__construct ( ) Constructor. Sets up the list table.
column_default ( array $slug, string $column_name ) : string Returns the content for a row in the list table.
display ( ) : void Output custom display for featured plugins
get_columns ( ) : array Return associative array of columns in the table
prepare_items ( ) Fetch the list of VIP featured plugins to display in the list table.

Описание методов

__construct() публичный Метод

Constructor. Sets up the list table.
public __construct ( )

column_default() публичный Метод

Returns the content for a row in the list table.
public column_default ( array $slug, string $column_name ) : string
$slug array Plugin slug.
$column_name string Name of the table column.
Результат string

display() публичный Метод

Output custom display for featured plugins
public display ( ) : void
Результат void

get_columns() публичный Метод

Note - this is not used in this custom table of Featured Plugins, but exists to prevent future breakage if self::get_columns() ever ends up being called due to Core changes
public get_columns ( ) : array
Результат array The array of table columns

prepare_items() публичный Метод

Fetch the list of VIP featured plugins to display in the list table.
public prepare_items ( )

Описание свойств

$_column_headers публичное свойство

Setting this variable won't run the filter at all
public $_column_headers

$filter публичное свойство

Filter the featured plugin list? Used to separate new layout
public string $filter
Результат string