@@ 1564-1586 (lines=23) @@ | ||
1561 | * @throws InvalidInterfaceException |
|
1562 | * @throws ReflectionException |
|
1563 | */ |
|
1564 | protected function _register_event_editor_meta_boxes() |
|
1565 | { |
|
1566 | $this->verify_cpt_object(); |
|
1567 | // add_meta_box( |
|
1568 | // 'espresso_event_editor_tickets', |
|
1569 | // esc_html__('Event Datetime & Ticket', 'event_espresso'), |
|
1570 | // array($this, 'ticket_metabox'), |
|
1571 | // $this->page_slug, |
|
1572 | // 'normal', |
|
1573 | // 'high' |
|
1574 | // ); |
|
1575 | add_meta_box( |
|
1576 | 'espresso_event_editor_event_options', |
|
1577 | esc_html__('Event Registration Options', 'event_espresso'), |
|
1578 | array($this, 'registration_options_meta_box'), |
|
1579 | $this->page_slug, |
|
1580 | 'side' |
|
1581 | ); |
|
1582 | // NOTE: if you're looking for other metaboxes in here, |
|
1583 | // where a metabox has a related management page in the admin |
|
1584 | // you will find it setup in the related management page's "_Hooks" file. |
|
1585 | // i.e. messages metabox is found in "espresso_events_Messages_Hooks.class.php". |
|
1586 | } |
|
1587 | ||
1588 | ||
1589 | /** |
@@ 976-987 (lines=12) @@ | ||
973 | * @throws InvalidInterfaceException |
|
974 | * @throws ReflectionException |
|
975 | */ |
|
976 | protected function _premium_event_editor_meta_boxes() |
|
977 | { |
|
978 | $this->verify_cpt_object(); |
|
979 | add_meta_box( |
|
980 | 'espresso_event_editor_event_options', |
|
981 | esc_html__('Event Registration Options', 'event_espresso'), |
|
982 | array($this, 'registration_options_meta_box'), |
|
983 | $this->page_slug, |
|
984 | 'side', |
|
985 | 'core' |
|
986 | ); |
|
987 | } |
|
988 | ||
989 | ||
990 | /** |