프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$forum_type | string | Forum post type name. | |
$reply_type | string | Reply post type name. | |
$topic_type | string | Topic post type name. |
메소드 | 설명 | |
---|---|---|
__construct ( ) : void | Sets up needed actions/filters for the admin to initialize. | |
admin_body_class ( string $class ) : string | Adds a custom admin body class. | |
admin_menu ( ) : void | Adds admin menu items needed by the plugin. Rather than having multiple top-level menu items like some plugins, which shall remain unnamed, we'll consolidate everything into a single item. Yay for no clutter! | |
admin_notices ( ) : void | Displays an admin notice if the current theme does not support the Message Board plugin. | |
get_instance ( ) : object | Returns the instance. | |
nav_menu_meta_box_object ( object $object ) : object | Makes sure the correct post status is used when loading forums on the nav menus screen. By default, WordPress will only load them if they have the "publish" post status. | |
parent_file ( string $parent_file ) : string | Corrects the parent file for post type screens. | |
register_scripts ( ) : object | Registers the admin scripts and styles. | |
views_edit ( array $views ) : array | Puts the post status links in the a better order. By default, WP will list these in the order they're registered. Instead, we're going to put them in order from public, private, protected, and other. |
public __construct ( ) : void | ||
리턴 | void |
public admin_body_class ( string $class ) : string | ||
$class | string | |
리턴 | string |
public admin_notices ( ) : void | ||
리턴 | void |
public parent_file ( string $parent_file ) : string | ||
$parent_file | string | |
리턴 | string |
public register_scripts ( ) : object | ||
리턴 | object |
public views_edit ( array $views ) : array | ||
$views | array | |
리턴 | array |