Fetch and sanitize the $_POST value for the setting.
Description
During a save request prior to save, post_value() provides the new value while value() does not.
Parameters
$default_value
mixedoptional- A default value which is used as a fallback.
Default:
null
Source
final public function post_value( $default_value = null ) {
return $this->manager->post_value( $this, $default_value );
}
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.