Short ABSPATH check

This commit is contained in:
Claudio Sanches 2018-03-08 16:26:01 -03:00
parent c7e9c11dd7
commit da23b0399e
1 changed files with 3 additions and 5 deletions

View File

@ -4,13 +4,11 @@
*
* Functions for product specific things.
*
* @package WooCommerce/Functions
* @version 3.0.0
* @package WooCommerce/Functions
* @version 3.0.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
defined( 'ABSPATH' ) || exit;
/**
* Standard way of retrieving products based on certain parameters.