Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.
Assume that you have named the file name rank-math.php. Then the filter should work correctly.
Apart from that, could you please share a screenshot or screencast for us so that we can assist you properly?
You can use these online tools for screenshot and screencast: https://imgbb.com or https://loom.com
Looking forward to your update.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for getting in touch with us.
I think I was able to address the issue. Please insert <?php at the top of your rank-math.php file like this.

Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Thank you.
Hello,
We’re glad we could address your concern. 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.