Method | 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. | |
views ( array $views ) : array | Add custom views (status list). |
public __construct ( ) : void | ||
return | void |
public admin_notices ( ) : void | ||
return | void |
public bulk_actions ( array $actions ) : array | ||
$actions | array | |
return | array |
public display_post_states ( array $post_states, object $post ) | ||
$post_states | array | |
$post | object |
public edit_columns ( array $post_columns ) : array | ||
$post_columns | array | |
return | array |
public static get_instance ( ) : object | ||
return | object |
public manage_columns ( string $column, integer $post_id ) | ||
$column | string | |
$post_id | integer |
public manage_sortable_columns ( array $columns ) : array | ||
$columns | array | |
return | array |
public print_styles ( ) : void | ||
return | void |