WordPress at a glance
function is not described

WP_Customize_Nav_Menus::intval_base10() public WP 4.3.0

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.

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

No Hooks.

Return

Int. Integer.

Usage

$WP_Customize_Nav_Menus = new WP_Customize_Nav_Menus();
$WP_Customize_Nav_Menus->intval_base10( $value );
$value(mixed) (required)
Number to convert.

Changelog

Since 4.3.0 Introduced.

Code of WP_Customize_Nav_Menus::intval_base10() WP 5.7

<?php
public function intval_base10( $value ) {
	return intval( $value, 10 );
}