Snippets: Use Yoast SEO Primary Category For Related Blog Posts

// This is now the default in the theme since v5.0, no need for custom code.

Snippet Type: PHP

Posted Under: Blog

All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)