• Resolved neosan

    (@nreljed)


    hello,
    I’m looking for the code snippet or the option to hide this score from all users except admin where can I find it? I don’t have flexibility for options can you add it in the near future?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @nreljed,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    Please try adding the following filter to your site to hide SEO Score from all other users except admins:
    add_filter( 'rank_math/show_score', function(){ if( !current_user_can('administrator') ) { return false; }else{ return true; } });

    Here’s how you can add filters/hooks to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how it goes. Looking forward to helping you.

    Thread Starter neosan

    (@nreljed)

    thanks it seems to work
    can we hope for a generous and positive gesture from you to push for its integration into the logic of roles manager ? or settings ? to be able to hide all traces of SEO scores in the backend. This will prevent us from pasting snippets on several sites and using snippet plugins

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @nreljed,

    We really appreciate your suggestion.

    We’ve forwarded the suggestion to our concerned team and be assured that, if this is something that we can implement in the future, we’ll surely let our users know once there’s any update we have on this via regular communication channels like Facebook, mail, etc.

    Changelog: https://rankmath.com/changelog/

    Please do not hesitate to let us know if you need our assistance with anything else.

    Thank you for being with Rank Math.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘hide score in backend’ is closed to new replies.