WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] administrator role / author (3 posts)

  1. alxndru
    Member
    Posted 3 years ago #

    Hi,

    I added the following to wp-config.php as read on this link to remove Contact 7 section from Author Role wp-admin Dashboard and allow just the Administrator to have access:

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

    No success.. still displayed. Any advices?

    Thanks,
    Alexandru

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    Maybe you inserted them into wrong position. Check this out:

    Controlling Behavior by Setting Constants

  3. alxndru
    Member
    Posted 3 years ago #

    Thanks man, obviously.
    Solved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic