Status & Tools > How to remove the “status” tab ?

#61855
  • Resolved Anonymous
    Rank Math free

    Hello Rank math Team i’m wondering how to get rid of the status tab in the status & tool page because it disclose sensitive information.

    
    .../wp-admin/admin.php?page=rank-math-status&view=status
    

    I have not found any hook for it, Thanks in advance !

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Thank you for contacting Rank Math today.

    The System status tab is meant to help in troubleshooting your site if need be. I’ll consult the dev team to check if your request can be handled. Your patience will be appreciated.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    You can use following filter to remove the Status Page:

    
    add_filter( 'rank_math/tools/pages', function( $tools ) {
    	if ( isset( $tools['status'] ) ) {
    		unset( $tools['status'] );
    	}
    
    	return $tools;
    }, 99 );
    

    Please add this code in your theme’s functions.php file before closing PHP tag.

    I hope that helps.

    Anonymous
    Rank Math free

    @Pratik, Wow thanks, i was testing with that hook with no succes !

    Like always best plugin support in the galaxy, thanks !

    – JibsouX –

    Alberto
    Rank Math business

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this ticket.