• Resolved gamepres

    (@gamepres)


    Hello,

    I need to remove the Clear Cache button in the admin bar.
    So I tried to add
    define(‘WPFC_HIDE_CLEAR_CACHE_BUTTON’, true);
    in wp-config.ini, but it doesn’t work.

    Maybe this option isn’t available for the paid version?

    Thank you for your support.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Emre Vona

    (@emrevona)

    You should take a look at the following tutorial.

    https://www.wpfastestcache.com/features/hide-toolbar-link/

    Thread Starter gamepres

    (@gamepres)

    Thank you for your advice.
    Are we talking about wp-config.php at the root of WP folder?
    I tried to add
    define(‘WPFC_HIDE_TOOLBAR’, true);
    at the end of the file, but unfortunately couldn’t get rid of the button.
    Again, maybe it doesn’t work properly with the paid version?
    Thank you for your time.

    Plugin Author Emre Vona

    (@emrevona)

    Are we talking about wp-config.php at the root of WP folder?

    yes.

    I tried to add
    define(‘WPFC_HIDE_TOOLBAR’, true);
    at the end of the file, but unfortunately couldn’t get rid of the button.

    Now I tried and it works properly. Can you add at the top of wp-config.php please?

    Thread Starter gamepres

    (@gamepres)

    It worked perfectly this time.
    Thank you very much for your support, and keep up the good work!

    For some reason this didn’t work for me. I added the code to the top of the wp-config file and it showed the code when I refreshed and then it showed the dashboard with the Clear Cache still there.

    Thread Starter gamepres

    (@gamepres)

    I put the line right under the <php tag.

    Aaa… It worked! ty

    Plugin Author Emre Vona

    (@emrevona)

    nice ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Hide Clear Cache’ is closed to new replies.