From 29849849ef034ea66216450e40d4474bc7c876af Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Tue, 12 Mar 2024 14:48:43 +0100 Subject: [PATCH] added capabilities to user editor --- inc/user-role-capabilities-mod.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 inc/user-role-capabilities-mod.php diff --git a/inc/user-role-capabilities-mod.php b/inc/user-role-capabilities-mod.php new file mode 100644 index 0000000..2bad6ff --- /dev/null +++ b/inc/user-role-capabilities-mod.php @@ -0,0 +1,20 @@ +add_cap( 'edit_theme_options' ); +// add export CF7 DB +$role_object->add_cap( 'cfdb7_access' );