WP_Super_Cache_Rest_Get_Settings::get_is_lock_down_enabled
Method of the class: WP_Super_Cache_Rest_Get_Settings{}
No Hooks.
Returns
Int.
Usage
// protected - for code of main (parent) or child class $result = $this->get_is_lock_down_enabled();
WP_Super_Cache_Rest_Get_Settings::get_is_lock_down_enabled() WP Super Cache Rest Get Settings::get is lock down enabled code WPSCache 3.1.1
protected function get_is_lock_down_enabled() {
if ( defined( 'WPLOCKDOWN' ) ) {
return constant( 'WPLOCKDOWN' ) ? 1 : 0;
}
return 0;
}