Support » Plugin: Co-Authors Plus » Hide Create Profile from the User menu

Viewing 3 replies - 1 through 3 (of 3 total)
  • I did figure it out.

    the css the references the .edit-guest-author in the admin starts as .create-guest-author.

    So to hide both of them you need to but something like this in your function file to hide the option in list user admin screen.

    function hide_guest_author() {
       echo '<style type="text/css">
               .edit-guest-author { display:none; }
               .create-guest-author { display:none; }
    add_action('admin_head', 'hide_guest_author');

    I’d still like to see a check box in the setup of this plugin for this option but neither the less I figured it out.

    Plugin Author Daniel Bachhuber


    Hand Built

    You can disable guest author profiles entirely by adding this to your there’s functions.php file:

    add_filter( 'coauthors_guest_authors_enabled', '__return_false' );

    We have an issue filed for the next release to improve the UX for creating a profile too, so it’s less confusing.

    Hi Daniel

    As it turns the client might have use for the guest author. But they did agree that the create profile button so similar to the edit button could be very confusing.

    Thanks for the quick reply 🙂 I look forward to the next release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Create Profile from the User menu’ is closed to new replies.