Fetch and sanitize the $_POST value for the setting.
During a save request prior to save, post_value() provides the new value while value() does not.
$default_valuemixedoptional
Default:null
final public function post_value( $default_value = null ) {
return $this->manager->post_value( $this, $default_value );
}
| Version | Description |
|---|---|
| 3.4.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_setting/post_value