Enhancing nocache helper
* Adding support for DONOTCACHEOBJECT * Adding support for DONOTCACHEDB
This commit is contained in:
parent
ad17813e70
commit
49f935dd8b
|
@ -76,6 +76,12 @@ class WC_Cache_Helper {
|
|||
if ( ! defined( 'DONOTCACHEPAGE' ) )
|
||||
define( "DONOTCACHEPAGE", "true" );
|
||||
|
||||
if ( ! defined( 'DONOTCACHEOBJECT' ) )
|
||||
define( "DONOTCACHEOBJECT", "true" );
|
||||
|
||||
if ( ! defined( 'DONOTCACHEDB' ) )
|
||||
define( "DONOTCACHEDB", "true" );
|
||||
|
||||
nocache_headers();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue