WordPress at a glance
function is not described

WP_Super_Cache_Rest_Get_Settings::get_is_lock_down_enabled() protected WPSCache 1.0

{} It's a method of the class: WP_Super_Cache_Rest_Get_Settings{}

No Hooks.

Return

Int.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_is_lock_down_enabled();

Code of WP_Super_Cache_Rest_Get_Settings::get_is_lock_down_enabled() WPSCache 1.7.1

<?php
protected function get_is_lock_down_enabled() {
	if ( defined( 'WPLOCKDOWN' ) ) {
		return constant( 'WPLOCKDOWN' ) ? 1 : 0;
	}

	return 0;
}