Support » Plugin: Clean Login » Great plugin

  • creativecatapps


    This is a great plugin and combined with a few others, I can lockdown particular sites to frontend access only. However, a piece of what I’d consider core functionality is missing: At present the setting allow everyone or JUST the administrator access to the dashboard. There are no filters even to extend this functionality to allow editors, authors or contributors access whilst blocking subscribers.

    The only method at the moment appears to be editing lines 17 and 24 of a core file in includes/settings.php from ‘manage_options’ to ‘publish_posts’ (to allow editor access). This is a hack as the when the plugin is updated I’ll have to rewrite the overrides.

    Add this functionality and I’ll certainly update my rating to a 5!

    The filter has now been added and although I don’t want my site editor to access the menu for this, I can hide it easily enough from the dashboard.

    I’ve updated my rating to reflect my happiness with the new functionality.

    • This topic was modified 11 months ago by creativecatapps. Reason: Updated my review thanks to a plugin update
    • This topic was modified 11 months ago by creativecatapps.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Javier Carazo


    Good afternoon,

    A filter would be ok for this?

    In this way you could override it.

    Plugin Author Javier Carazo


    I have just included new hooks to allow it:

            if ( $block_dashboard && !current_user_can( apply_filters( 'clean_login_admin_capability', 'manage_options' ) ) && ( !defined( 'DOING_AJAX' ) || !DOING_AJAX ) ) {

    Could you check and tell me? If you do not know how to use it, tell me and I tell you how to use this hook.

    Thread Starter creativecatapps


    Thank you @carazo – I have updated my review, as promised!

    Plugin Author Javier Carazo




Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Great plugin’ is closed to new replies.