Absolute path fix for wc-conditional-functions.php

This commit is contained in:
shivapoudel 2014-09-21 00:51:46 +05:45
parent eab625e185
commit 1f9ba73b96
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@
* @version 2.1.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
/**
* is_woocommerce - Returns true if on a page which uses WooCommerce templates (cart and checkout are standard pages with shortcodes and thus are not included)