Updated Filters and Hooks
-
Hi,
I have just started using Rank Math Version 1.0.228 and was thinking of using these overrides in rank-math.php
add_filter( ‘rank_math/frontend/remove_credit_notice’, ‘__return_true’ );
add_action( ‘rank_math/whitelabel’, ‘__return_true’ );
add_filter( ‘rank_math/sitemap/remove_credit’, ‘__return_true’ );
add_filter( ‘rank_math/sitemap/enable_caching’, ‘__return_false’);However, a quick check in page view source showed no impact if I use them or not.
Query 1: Can you please guide if all the codes given in https://rankmath.com/kb/filters-hooks-api-developer/ are up to date and relevant for Version 1.0.228
I wouldn’t want to apply unwanted codes if they are not useful.
Query2: Similarly, I came across <script type=”application/ld+json” class=”rank-math-schema”> this class whose significance is not clear.
Please guide on BOTH queries.
Thanks
- You must be logged in to reply to this topic.