WP_Customize_Nav_Menus::intval_base10

Advertisement

Summery Summery

Get the base10 intval.

Syntax Syntax

WP_Customize_Nav_Menus::intval_base10( mixed $value )

Description Description

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.

Parameters Parameters

$value

(Required) Number to convert.

Return Return

(int) Integer.

Source Source

File: wp-includes/class-wp-customize-nav-menus.php

					new WP_Customize_Nav_Menu_Item_Setting(
						$this->manager,
						$menu_item_setting_id,

Advertisement

Changelog Changelog

Changelog
Version Description
4.3.0 Introduced.

Advertisement

Leave a Reply