Why put PHP in “Snippets” and not child theme functions.php?

I’m taking over a project from another developer and changes that I expected to be in functions.php were actually made using the Snippets plugin.

Why would they do that? Is there some advantage to this that I’m not aware of?

2 Comments
  1. It’s quick and easy and you can switch individual snippets off if necessary.

    I use this plugin quite a bit, but usually move the snippets to functions.php when tested.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Your Advertisement Here