Main
Class Metabox
Source
File: inc/admin/metabox/main.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — Main constructor.
- add_content_toggles — Add content toggles.
- add_content_width — Add content width control.
- add_controls — Add controls.
- add_layout_controls — Add layout controls.
- hide_content_width — Hide content width.
- hide_on_single_page_and_product — Callback to hide on single product/page edit page
- hide_on_single_product — Callback to hide on single product edit page.
- is_checkout — Check if is checkout.
- is_new_page — Check if we're adding a new post of type `page`.
- is_post — Check if is post.