• In testing this, I’ve noticed that all users have access to current forms. Even subscribers.

    How does one disable the contact form access for all users except admins?

Viewing 7 replies - 1 through 7 (of 7 total)
  • In my blog, subscribers do not have access to contact form 7 from their dashboard…

    Insert these lines into your wp-config.php:

    define( 'WPCF7_ADMIN_READ_CAPABILITY', 'manage_options' );
    
    define( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY', 'manage_options' );
    Thread Starter rjpowers

    (@rjpowers)

    That sort of works.
    Subscribers do not have access now, but I still want to lock down all user roles except the admins.

    Thread Starter rjpowers

    (@rjpowers)

    Bump. Anyone?

    So, just insert these lines into your wp-config.php:

    define( 'WPCF7_ADMIN_READ_CAPABILITY', 'manage_options' );
    
    define( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY', 'manage_options' );

    It does just what you want.

    Thanks takayukister. Unfortunately I find the same thing. I added these lines to my wp-config and Authors still see the contact form menu in the admin. I too want to hide from everyone except Admin level users.

    I found this plugin that lets you hide options from the admin based on user level. Very handy. I was able to hide not just the contact box but other stuff.

    http://wordpress.org/extend/plugins/adminimize/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Contact Form 7] Disabling Contact Forms for all users except Admin’ is closed to new replies.