woothemes/woocommerce — Issue #237: Include woocommerce_template_functions at lower priority
Author: lucasstark
Created: 2011-11-20 16:16:51+00:00
State: open

The call to include include_once( 'woocommerce_template_functions.php' ); should be moved to a lower priority hook, allowing plugins to override the functions as well.

add_action('init', 'include_template_functions', 99);
function include_template_functions(){
// Include template functions here so they are pluggable by themes
include_once( 'woocommerce_template_functions.php' );
}