Support » Plugin: ACF Front End Editor » Great Plugin, requesting a feature!

  • Resolved Kevin


    I installed this plugin with not so great expectations after many other front end editor. However, this plugin delivered amazingly! And surprisingly so, it’s even more powerful than I was anticipating.

    I have a question and a feature request as well.

    The Question: Is it possible to limit front-end editing of a specific post type based on user roles?

    Feature Request: Double click to activate editor

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author horiondigital


    Hi, right now you can limit editing in general by specific role by going to the settings. i haven’t thought of editing by post type, its a great idea, will look into it if i get some time.

    Limit user roles to Admin and Editors, but allow Author to ONLY edit their own post:

    function posts_for_current_author($query) {
    	global $pagenow;
    	if( 'edit.php' != $pagenow || !$query->is_admin )
    	    return $query;
    	if( !current_user_can( 'edit_others_posts' ) ) {
    		global $user_ID;
    		$query->set('author', $user_ID );
    	return $query;
    add_filter('pre_get_posts', 'posts_for_current_author');
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Great Plugin, requesting a feature!’ is closed to new replies.