how to disable post/page editor mini button?
i dont want my customers put forms from there.. or.. a solution to just let them put some forms not all...
how to disable post/page editor mini button?
i dont want my customers put forms from there.. or.. a solution to just let them put some forms not all...
Right now I don't think there is a way... but you bring up a good point. We can probably add an option in the next release to disable the form button in the page/post editor. Would an option in the Settings to turn if off suffice? Then you can use the Members role management plugin to hide the Settings page from them...
You can try this to get rid of the button. Just put the following snippet into your theme's function.php file. It basically hides the button from view for non admin users.
<?php if ( !current_user_can('manage_options') ) {
function gfAdminCSS() {
$gfAdminCSS = '<style type="text/css" media="screen" />a[title="Add Gravity Form"] {display:none;}</style>' . "\n";
print($gfAdminCSS);
}
add_filter('admin_head', 'gfAdminCSS');
} ?>
We're still considering some options for another release, but this should work for you for the time being.