wp-admin/nav-menus.php

WP檔案 1
WordPress Administration for Navigation Menus Interface functions
函式/鉤子名 描述
wp_nav_locations_listed_per_menu (過濾鉤子) wp_nav_locations_listed_per_menu:這是 WordPress 中的過濾器鉤子。它允許您修改 WordPress 定製器中每個選單列出的導航選單位置的數量。使用此鉤子時,您
after_menu_locations_table (動作鉤子) after_menu_locations_table: WordPress中的這個動作鉤子是在WordPress選單螢幕中顯示選單位置表之後觸發的。這個鉤子可以用來為選單螢幕新增額外的資訊或功能。
wp_nav_menu_max_depth (函式) wp_nav_menu_max_depth: 這個過濾器用於設定WordPress導航選單的最大深度。它可以用來限制選單的層數。

常見問題

FAQs
檢視更多 >