Custom function in functions.php
-
Hi,
What is the best practice to include the custom function in woocommerce.
Cause i noticed got two different functions.php which are in wp-includes/functions.php and wp-content/themes/twentytwenty/functions.php.
If I put that custom function inside the theme folder, when updating theme the function will disappears. So i’ve include the function inside wp-content folder. But I’m not sure if it’s a best practice or not.
Regards,
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom function in functions.php’ is closed to new replies.