PHP Класс Message_Board_Admin_Edit_Topics

Автор: Justin Tadlock ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( ) : void Sets up needed actions/filters for the admin to initialize.
admin_notices ( ) : void Displays admin notices for the edit forum screen.
bulk_actions ( array $actions ) : array Customize the bulk actions drop-down.
display_post_states ( array $post_states, object $post ) Filter for the post_states hook. We're going to replace any defaults and roll our own.
edit_columns ( array $post_columns ) : array Customize the columns on the edit post screen.
get_instance ( ) : object Returns the instance.
handler ( ) : void Callback function for handling post status changes.
load_edit ( ) : void Adds a custom filter on 'request' when viewing the edit menu items screen in the admin.
manage_columns ( string $column, integer $post_id ) Handles the output for custom columns.
manage_sortable_columns ( array $columns ) : array Customize the sortable columns.
print_styles ( ) : void Enqueue the plugin admin CSS.
request ( array $vars ) : array Filter on the request hook to change what posts are loaded.
row_actions ( array $actions, object $post ) : array Custom row actions below the post title.
views ( array $views ) : array Add custom views (status list).

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

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

Sets up needed actions/filters for the admin to initialize.
С версии: 1.0.0
public __construct ( ) : void
Результат void

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

Displays admin notices for the edit forum screen.
С версии: 1.0.0
public admin_notices ( ) : void
Результат void

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

Customize the bulk actions drop-down.
С версии: 1.0.0
public bulk_actions ( array $actions ) : array
$actions array
Результат array

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

Filter for the post_states hook. We're going to replace any defaults and roll our own.
С версии: 1.0.0
public display_post_states ( array $post_states, object $post )
$post_states array
$post object

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

Customize the columns on the edit post screen.
С версии: 1.0.0
public edit_columns ( array $post_columns ) : array
$post_columns array
Результат array

get_instance() публичный статический Метод

Returns the instance.
С версии: 1.0.0
public static get_instance ( ) : object
Результат object

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

Callback function for handling post status changes.
С версии: 1.0.0
public handler ( ) : void
Результат void

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

Adds a custom filter on 'request' when viewing the edit menu items screen in the admin.
С версии: 1.0.0
public load_edit ( ) : void
Результат void

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

Handles the output for custom columns.
С версии: 1.0.0
public manage_columns ( string $column, integer $post_id )
$column string
$post_id integer

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

Customize the sortable columns.
С версии: 1.0.0
public manage_sortable_columns ( array $columns ) : array
$columns array
Результат array

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

Enqueue the plugin admin CSS.
С версии: 1.0.0
public print_styles ( ) : void
Результат void

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

Filter on the request hook to change what posts are loaded.
С версии: 1.0.0
public request ( array $vars ) : array
$vars array
Результат array

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

Custom row actions below the post title.
С версии: 1.0.0
public row_actions ( array $actions, object $post ) : array
$actions array
$post object
Результат array

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

Add custom views (status list).
С версии: 1.0.0
public views ( array $views ) : array
$views array
Результат array