Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Permissions are not handled by Jetpack, I’m afraid: the Contact Form is added to the editor in the same way that the Media button is added there. If someone is allowed to insert media, they’ll be able to insert contact forms as well.

    If you’d like to change that, you could use a plugin like Members to remove the ability to insert images for some of your registered users.

    I hope this helps.

    Thread Starter Norek

    (@norek)

    Thanks for the reply. Perhaps I can hide it using function.php, as I′m doing it with other plugins?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    You could, yes, with something like this:

    function jeherve_remove_grunion_button() {
    	if ( false == current_user_can( 'manage_options' ) ) {
    		remove_action( 'media_buttons', 'grunion_media_button', 999 );
    	}
    }
    add_action( 'wp_loaded', 'jeherve_remove_grunion_button' );
    Thread Starter Norek

    (@norek)

    Yeah, great! Thats it!
    Thanks a lot!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Jetpack contact form only for admins’ is closed to new replies.