Get the base10 intval.
This is used as a setting’s sanitize_callback; we can’t use just plain intval because the second argument is not what intval() expects.
(mixed) (Required) Number to convert.
(int) Integer.
File: wp-includes/class-wp-customize-nav-menus.php
public function intval_base10( $value ) { return intval( $value, 10 ); }
Version | Description |
---|---|
4.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_nav_menus/intval_base10