Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Main functions file
- *
- * @package WordPress
- * @subpackage Shop Isle
- */
- $vendor_file = trailingslashit( get_template_directory() ) . 'vendor/autoload.php';
- if ( is_readable( $vendor_file ) ) {
- require_once $vendor_file;
- }
- if ( ! defined( 'WPFORMS_SHAREASALE_ID' ) ) {
- define( 'WPFORMS_SHAREASALE_ID', '848264' );
- }
- add_filter( 'themeisle_sdk_products', 'shopisle_load_sdk' );
- /**
- * Loads products array.
- *
- * @param array $products All products.
- *
- * @return array Products array.
- */
- function shopisle_load_sdk( $products ) {
- $products[] = get_template_directory() . '/style.css';
- return $products;
- }
- /**
- * Initialize all the things.
- */
- require get_template_directory() . '/inc/init.php';
- /**
- * Note: Do not add any custom code here. Please use a child theme so that your customizations aren't lost during updates.
- * http://codex.wordpress.org/Child_Themes
- */
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement