menu_pages

Syntax

native menu_pages(menu);

Usage

menu
Menu resource identifier.

Description

Returns the number of pages in a menu.

Return

Number of pages in the menu.

Error

Invalid menu resource.