diff --git a/public_html/wp-content/plugins/camptix/inc/class-camptix-admin.php b/public_html/wp-content/plugins/camptix/inc/class-camptix-admin.php index 28e97d42a..c80070905 100644 --- a/public_html/wp-content/plugins/camptix/inc/class-camptix-admin.php +++ b/public_html/wp-content/plugins/camptix/inc/class-camptix-admin.php @@ -42,17 +42,23 @@ public function admin_menu_fix() { // Make sure Coupons is selected when adding a new coupon. if ( 'post-new.php' == $pagenow && 'tix_coupon' == $typenow ) { - add_filter( 'submenu_file', function () { return 'edit.php?post_type=tix_coupon'; } ); + add_filter( 'submenu_file', function () { + return 'edit.php?post_type=tix_coupon'; + } ); } // Make sure Attendees is selected when adding a new attendee. if ( 'post-new.php' == $pagenow && 'tix_attendee' == $typenow ) { - add_filter( 'submenu_file', function () { return 'edit.php?post_type=tix_attendee'; } ); + add_filter( 'submenu_file', function () { + return 'edit.php?post_type=tix_attendee'; + } ); } // Make sure Tickets is selected when creating a new ticket. if ( 'post-new.php' == $pagenow && 'tix_ticket' == $typenow ) { - add_filter( 'submenu_file', function () { return 'edit.php?post_type=tix_ticket'; } ); + add_filter( 'submenu_file', function () { + return 'edit.php?post_type=tix_ticket'; + } ); } } @@ -62,7 +68,7 @@ public function admin_menu_fix() { public function menu_setup() { ?>