Last active
January 2, 2016 08:39
-
-
Save bmoredrew/8278090 to your computer and use it in GitHub Desktop.
Example of including functions in array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$my_theme = TEMPLATEPATH . '/inc/'; | |
$includes = array( | |
$my_theme . 'theme-functions.php', // Custom Theme Functions | |
$my_theme . 'theme-custom-post-types.php', // CPT's | |
$my_theme . 'fields/init.php', // Custom Fields | |
$my_theme . 'stripe/lib.php' // Integrate Stripe | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment