/** * wpsc_register_core_theme_files() * * Registers the core WPEC files into the global array */ function wpsc_register_core_theme_files() { wpsc_register_theme_file('wpsc-single_product.php'); wpsc_register_theme_file('wpsc-grid_view.php'); wpsc_register_theme_file('wpsc-list_view.php'); wpsc_register_theme_file('wpsc-products_page.php'); wpsc_register_theme_file('wpsc-shopping_cart_page.php'); wpsc_register_theme_file('wpsc-transaction_results.php'); wpsc_register_theme_file('wpsc-user-log.php'); wpsc_register_theme_file('wpsc-cart_widget.php'); wpsc_register_theme_file('wpsc-featured_product.php'); wpsc_register_theme_file('wpsc-category-list.php'); wpsc_register_theme_file('wpsc-category_widget.php'); // Let other plugins register their theme files do_action('wpsc_register_core_theme_files'); }
/** * wpsc_register_core_theme_files() * * Registers the core WPEC files into the global array */ function wpsc_register_core_theme_files() { wpsc_register_theme_file('wpsc-single_product.php'); wpsc_register_theme_file('wpsc-grid_view.php'); wpsc_register_theme_file('wpsc-list_view.php'); wpsc_register_theme_file('wpsc-products_page.php'); wpsc_register_theme_file('wpsc-shopping_cart_page.php'); wpsc_register_theme_file('wpsc-transaction_results.php'); wpsc_register_theme_file('wpsc-user-log.php'); wpsc_register_theme_file('wpsc-cart_widget.php'); wpsc_register_theme_file('wpsc-featured_product.php'); wpsc_register_theme_file('wpsc-category-list.php'); wpsc_register_theme_file('wpsc-category_widget.php'); wpsc_register_theme_file('wpsc-account-downloads.php'); wpsc_register_theme_file('wpsc-account-edit-profile.php'); wpsc_register_theme_file('wpsc-account-purchase-history.php'); /* Let other plugins register their theme files */ do_action('wpsc_register_core_theme_files'); }