Метод | Описание | |
---|---|---|
__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. |
public __construct ( ) : void | ||
Результат | void |
public admin_notices ( ) : void | ||
Результат | void |
public static get_instance ( ) : object | ||
Результат | object |
public load_user_edit ( ) : void | ||
Результат | void |
public print_styles ( ) : void | ||
Результат | void |
public profile_fields ( object $user ) : void | ||
$user | object | |
Результат | void |
public role_update ( integer $user_id ) : void | ||
$user_id | integer | |
Результат | void |