PHP 클래스 Message_Board_Admin_Users

파일 보기 프로젝트 열기: justintadlock/message-board 1 사용 예제들

공개 메소드들

메소드 설명
__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.

메소드 상세

__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

columns() 공개 메소드

Customize the columns on the edit post screen.
부터: 1.0.0
public columns ( array $columns ) : array
$columns array
리턴 array

custom_column() 공개 메소드

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

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_users() 공개 메소드

Adds actions/filters.
부터: 1.0.0
public load_users ( ) : void
리턴 void

pre_get_users() 공개 메소드

Filter on the user query to change the users loaded.
부터: 1.0.0
public pre_get_users ( object $query ) : void
$query object
리턴 void

print_styles() 공개 메소드

Enqueue the plugin admin CSS.
부터: 1.0.0
public print_styles ( ) : void
리턴 void

roles_dropdown() 공개 메소드

Adds a forum roles dropdown above the users table.
부터: 1.0.0
public roles_dropdown ( ) : void
리턴 void

sortable_columns() 공개 메소드

Customize the sortable columns.
부터: 1.0.0
public sortable_columns ( array $columns ) : array
$columns array
리턴 array