PHP Class Message_Board_Admin_Users

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.
columns ( array $columns ) : array Customize the columns on the edit post screen.
custom_column ( string $column, string $column_name, $user_id ) Handles the output for custom columns.
get_instance ( ) : object Returns the instance.
handler ( ) : void Callback function for handling post status changes.
load_users ( ) : void Adds actions/filters.
pre_get_users ( object $query ) : void Filter on the user query to change the users loaded.
print_styles ( ) : void Enqueue the plugin admin CSS.
roles_dropdown ( ) : void Adds a forum roles dropdown above the users table.
sortable_columns ( array $columns ) : array Customize the sortable columns.

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

columns() public méthode

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

custom_column() public méthode

Handles the output for custom columns.
Since: 1.0.0
public custom_column ( string $column, string $column_name, $user_id )
$column string
$column_name string

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_users() public méthode

Adds actions/filters.
Since: 1.0.0
public load_users ( ) : void
Résultat void

pre_get_users() public méthode

Filter on the user query to change the users loaded.
Since: 1.0.0
public pre_get_users ( object $query ) : void
$query object
Résultat void

print_styles() public méthode

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

roles_dropdown() public méthode

Adds a forum roles dropdown above the users table.
Since: 1.0.0
public roles_dropdown ( ) : void
Résultat void

sortable_columns() public méthode

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