BuddyClients Docs

MenuManager
in package

Menu manager.

Orders the admin menu post types and pages.

Table of Contents

Methods

instance()  : MenuManager
MenuManager Instance.
register_all_pages()  : mixed
Registers all pages.
register_page()  : mixed
Registers a page.
register_post_type()  : mixed
Registers a post type.
run()  : mixed
Initializes the post type manager and the page manager.

Methods

register_all_pages()

Registers all pages.

public register_all_pages() : mixed
Tags
since
0.4.0

register_page()

Registers a page.

public register_page(mixed $key, array<string|int, mixed> $args) : mixed
Parameters
$key : mixed
$args : array<string|int, mixed>

The array of page args.

Tags
since
0.4.0

register_post_type()

Registers a post type.

public register_post_type(string $key, array<string|int, mixed> $args) : mixed
Parameters
$key : string

The post type slug.

$args : array<string|int, mixed>

The array of post type args.

Tags
since
0.4.0

run()

Initializes the post type manager and the page manager.

public run() : mixed
Tags
since
0.4.0

        
On this page

Search results