PHP 클래스 Message_Board_Admin_User_Edit

파일 보기 프로젝트 열기: 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.
get_instance ( ) : object Returns the instance.
load_user_edit ( ) : void Adds actions/filters.
print_styles ( ) : void Enqueue the plugin admin CSS.
profile_fields ( object $user ) : void Filter on the request hook to change what posts are loaded.
role_update ( integer $user_id ) : void Callback function for handling forum role changes. Note that we needed to execute this function on a different hook, profile_update. Using the normal hooks on the edit user screen won't work because WP will wipe out the role.

메소드 상세

__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

get_instance() 공개 정적인 메소드

Returns the instance.
부터: 1.0.0
public static get_instance ( ) : object
리턴 object

load_user_edit() 공개 메소드

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

print_styles() 공개 메소드

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

profile_fields() 공개 메소드

Filter on the request hook to change what posts are loaded.
부터: 1.0.0
public profile_fields ( object $user ) : void
$user object
리턴 void

role_update() 공개 메소드

Callback function for handling forum role changes. Note that we needed to execute this function on a different hook, profile_update. Using the normal hooks on the edit user screen won't work because WP will wipe out the role.
부터: 1.0.0
public role_update ( integer $user_id ) : void
$user_id integer
리턴 void