The SEO Framework Plugin Remove Credit & Comments from Source

I’ve completely moved my whole WordPress site over to The SEO Framework from Yoast. I’m extremely happy with TSF so far! I always aim to keep my site as clean and fast as possible. The SEO Framework does not include any advertising or junk.

The plugin only leaves a few comments in the frontend source code. It’s easily removed by using the following snippet in your WordPress child theme’s functions.php or custom plugin.

Remove The SEO Framework HTML Comments

add_filter('the_seo_framework_indicator', '__return_false');

The comments will be disabled and gone after you’ve added the snippet!