PHP Class Message_Board_Admin_Edit_Replies

Afficher le fichier Open project: justintadlock/message-board Class Usage Examples

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

Sets up needed actions/filters for the admin to initialize.
Since: 1.0.0
public __construct ( ) : void
Résultat void

admin_notices() public méthode

Displays admin notices for the edit forum screen.
Since: 1.0.0
public admin_notices ( ) : void
Résultat void

bulk_actions() public méthode

Customize the bulk actions drop-down.
Since: 1.0.0
public bulk_actions ( array $actions ) : array
$actions array
Résultat array

display_post_states() public méthode

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

edit_columns() public méthode

Customize the columns on the edit post screen.
Since: 1.0.0
public edit_columns ( array $post_columns ) : array
$post_columns array
Résultat array

get_instance() public static méthode

Returns the instance.
Since: 1.0.0
public static get_instance ( ) : object
Résultat object

handler() public méthode

Callback function for handling post status changes.
Since: 1.0.0
public handler ( ) : void
Résultat void

load_edit() public méthode

Adds a custom filter on 'request' when viewing the edit menu items screen in the admin.
Since: 1.0.0
public load_edit ( ) : void
Résultat void

manage_columns() public méthode

Handles the output for custom columns.
Since: 1.0.0
public manage_columns ( string $column, integer $post_id )
$column string
$post_id integer

manage_sortable_columns() public méthode

Customize the sortable columns.
Since: 1.0.0
public manage_sortable_columns ( array $columns ) : array
$columns array
Résultat array

print_styles() public méthode

Enqueue the plugin admin CSS.
Since: 1.0.0
public print_styles ( ) : void
Résultat void

request() public méthode

Filter on the request hook to change what posts are loaded.
Since: 1.0.0
public request ( array $vars ) : array
$vars array
Résultat array

row_actions() public méthode

Custom row actions below the post title.
Since: 1.0.0
public row_actions ( array $actions, object $post ) : array
$actions array
$post object
Résultat array