Debug WordPress, BuddyPress, WooCommerce javascript

Debug WordPress, BuddyPress, WooCommerce javascript

By default in production mode WordPress, BuddyPress and WooCommerce use minified version of css and javascript. If you are developer and want to debug any core(WordPress) and plugins(BuddyPress and WooCommerce) script or css file then just add following line in your wp-config.php file. define(‘SCRIPT_DEBUG’, true);

Check if it is WooCommerce Page

Check if it is WooCommerce Page

Default WooCommerce function is_woocommerce  return true for only that pages which use WooCommerce templates. Cart, Checkout,My Account … etc page are standard pages with shortcodes so that are not checked by that function. is_realy_woocommerce_page is wrapper of is_woocommerce function and also check if the page is