Creating a WordPress Plugin for Custom PHP Functions

Original Article from WPMU DEV

modifying the functions.php is a futile task. Any time a plugin or theme updates, the functions gets rewritten and your code is removed.

Here’s the alternative approach

why you shouldn’t use functions.php…

Or… here’s a free plugin that’s already built for the job

https://wordpress.org/plugins/my-custom-functions/

 

%d bloggers like this: