WordPress at a glance
function is not described

WP_Super_Cache_Rest_Update_Settings::set_lock_down() protected WPSCache 1.0

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

No Hooks.

Return

Null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->set_lock_down( $value );
$value(mixed) (required)

Code of WP_Super_Cache_Rest_Update_Settings::set_lock_down() WPSCache 1.7.1

<?php
protected function set_lock_down( $value ) {
	$_POST[ 'wp_lock_down' ] = (int)$value;
	wp_update_lock_down();
}