Created
October 3, 2024 11:16
-
-
Save Crocoblock/d48f19a18a455a194cf364629a9ed57b to your computer and use it in GitHub Desktop.
JetFormBuilder Change capability user needs to create/edit forms
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'jet-form-builder/capability/form', function( $cap ) { | |
return 'edit_others_posts'; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment