• Resolved kozmicblues

    (@kozmicblues)


    I need the editor role to have access to clear cache within the wordpress admin. Right now only the admin role has that capability. We have a large site with many users. Everyone who edits content can’t have admin role. I know that as you edit a page, the cache for it should clear automatically but there are cases where that doesn’t work. Changes to global elements come to mind.

    Can role capabilities be added within the plugin to allow purging all cache and per page cache? If this existed, we could assign these capabilities to the editor role. Easy.

    This is how gravity forms does it:
    https://docs.gravityforms.com/role-management-guide/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kozmicblues

    (@kozmicblues)

    Here is how the redirection plugin does it or used to in an earlier version. i think they updated it since.

    add_management_page( __( "Redirection", 'redirection' ), __( "Redirection", 'redirection' ), apply_filters( 'redirection_role', 'administrator' ), basename( __FILE__ ), array( &$this, "admin_screen" ) );

    Then in functions.php you can add the editor access:

    /**
     * Redirection Plugin Editor access
     */
    add_filter( 'redirection_role', 'redirection_to_editor' );
    function redirection_to_editor() {
        return 'edit_pages';
    }
    Plugin Support phristanov

    (@phristanov)

    Dear @kozmicblues

    Thank you for taking the time to provide your feedback. Your insights are invaluable to us and play a crucial role in our continuous development as a company.

    Regarding the specific request you mentioned, I am pleased to inform you that we have already included it in our backlog. Our dedicated Product and Development teams will prioritize it in future updates, aiming to achieve the outcome you desire.

    If there is an issue with the automatic cache purge, please contact us for immediate support at support.nitropack.io or via email at [email protected].

    At NitroPack, we are committed to constantly improving our services and ensuring the highest level of client satisfaction. Should you have any further questions or additional suggestions, please do not hesitate to reach out. Our team is always ready to listen and assist you.

    Best regards,
    Plamen Hristanov, Head of Support, NitroPack

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Allow editor role to clear cache within admin’ is closed to new replies.