WordPress.org

Support

Support » Plugins and Hacks » Advanced Custom Fields » [Resolved] Remove editor only for author role

[Resolved] Remove editor only for author role

  • Hi there, i set up advanced custom field editor for my custom type posts.. now i’m develeoping how to hide native editor for the only author role..

    This code works, but for every role..((

    // Remove editor
    function remove_editor() {
      remove_post_type_support('post','editor');
    }
    add_action('admin_init','remove_editor');

    anyone know how to trim only for authors?

    http://wordpress.org/extend/plugins/advanced-custom-fields/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Remove editor only for author role’ is closed to new replies.
Skip to toolbar