-
Hey guys, I hope you’re doing well!
I’ve been using Rank Math for quite some time already and found this article recently:
https://rankmath.com/kb/filters-hooks-api-developer/
While Rank Math has so many great features, I always found it a bit overwhelming and hard to find the options when you don’t need many. Now, I’m customizing the modules and sections and removing everything I don’t need.
So far it worked great, but I still have a few questions:
(1) When I remove the module/section, is it actually disabled or just not visible in the WordPress Dashboard/Backend?
(2) I’ve tried to remove “Attachments” from “Sitemap Settings” using this code, but it doesn’t work:
add_filter( ‘rank_math/sitemap’, function( $tabs) {
unset( $tabs[‘attachment’] );
return $tabs;
});(3) Is it possible to remove options on the deepest level individually? For example, “General Settings” > “Links” > “Strip Category Base”?
The ticket ‘Question about Filters & Hooks for Developers’ is closed to new replies.