Manager
Class Manager
Source
File: inc/admin/metabox/manager.php
Expand full source code Collapse full source code View on Github
Methods
- add — Register meta box to control layout on pages and posts.
- define_controls — Define the controls.
- enqueue — Enqueue scripts and styles.
- get_author_avatar_state — Get the value of author avatar display from customizer.
- get_localization — Localize the Metabox script.
- get_post_elements_default_order — Get the value of elements order from customizer.
- init — Init function
- is_gutenberg_active — Detect if is gutenberg editor.
- load_controls — Instantiate the controls and actually load them into the control manager.
- meta_sidebar_script_enqueue — Register the metabox sidebar.
- neve_register_meta — Register meta
- order_by_priority — Order the controls by given priority.
- render_controls — The metabox content.
- render_metabox — The metabox content.
- render_metabox_notice — Render the metabox notice.
- save — Save metabox content.
- set_page_width — Set page width to 100% if it's a new page.
- should_add_meta — Decide if the metabox should be visible.