1: <?php
2:
3: /**
4: * @copyright Copyright (c) 2009-2022 ThemeCatcher (https://www.themecatcher.net)
5: */
6: class Quform_Admin_Page_Forms_Add extends Quform_Admin_Page
7: {
8: /**
9: * Process this page
10: */
11: public function process()
12: {
13: if ( ! current_user_can('quform_add_forms')) {
14: wp_die(__( 'You do not have sufficient permissions to access this page.', 'quform'), 403);
15: }
16:
17: wp_safe_redirect(admin_url('admin.php?page=quform.forms#add'));
18: exit;
19: }
20: }
21: