首页 WordPress函数大全 is_nav_menu_item()

is_nav_menu_item()

2020-05-02 / 5671阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

is_nav_menu_item( int $menu_item_id )

Determines whether the given ID is a nav menu item.

描述

参数

$menu_item_id

(int)
(Required)
The ID of the potential nav menu item.

返回

(bool) Whether the given ID is that of a nav menu item.

大家谈论
    我的见解