GC_Customize_Setting::post_value()

最后更新于:2021-11-27 08:44:04

GC_Customize_Setting::post_value( mixed$default=null)

Fetch and sanitize the $_POST value for the setting.

参数

$default

(mixed) (Optional) A default value which is used as a fallback.

Default value: null

响应

(mixed) The default value on failure, otherwise the sanitized and validated value.

源文件

文件: gc-includes/class-gc-customize-setting.php

	final public function post_value( $default = null ) {
		return $this->manager->post_value( $this, $default );
	}