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. | |
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 | ||
return | void |
public admin_notices ( ) : void | ||
return | void |
public static get_instance ( ) : object | ||
return | object |
public print_styles ( ) : void | ||
return | void |
public profile_fields ( object $user ) : void | ||
$user | object | |
return | void |
public role_update ( integer $user_id ) : void | ||
$user_id | integer | |
return | void |