Свойство | Тип | Описание | |
---|---|---|---|
$per_page | integer | Number of items per page |
Метод | Описание | |
---|---|---|
__construct ( ) | Get things started | |
bulk_actions ( $which = '' ) : void | Outputs the log views | |
column_default ( array $item, string $column_name ) : string | This function renders most of the columns in the list table. | |
column_details ( array $item ) : void | Output Error Message column | |
get_columns ( ) : array | Retrieve the table columns | |
get_logs ( ) : array | Gets the log entries for the current view | |
get_meta_query ( ) : array | Gets the meta query for the log query | |
get_paged ( ) : integer | Retrieve the current page number | |
get_search ( ) : mixed | Retrieves the search query string | |
prepare_items ( ) : void | Setup the final data for the table | |
search_box ( string $text, string $input_id ) : void | Show the search field |
Метод | Описание | |
---|---|---|
display_tablenav ( string $which ) | Display Tablenav (extended) |
public bulk_actions ( $which = '' ) : void | ||
Результат | void |
public column_details ( array $item ) : void | ||
$item | array | Contains all the data of the log |
Результат | void |
public get_columns ( ) : array | ||
Результат | array | $columns Array of all the list table columns |
public get_meta_query ( ) : array | ||
Результат | array | $meta_query |
public get_search ( ) : mixed | ||
Результат | mixed | String if search is present, false otherwise |
public prepare_items ( ) : void | ||
Результат | void |