custom_menu_order

過濾鉤子
apply_filters( 'custom_menu_order', false )
引數
  • (array) $a
    Required:
  • (array) $b
    Required:
返回值
  • () ()
定義位置
相關勾子
menu_ordercomment_form_aftercomment_formcomment_on_draftcomment_form_before
相關方法
add_custom_image_headerhas_custom_headerget_custom_headercomment_formcomment_datecomments_open
引入
n/a
棄用
-

custom_menu_order是WordPress中的一個過濾器,允許開發者修改自定義選單中的專案順序。自定義選單可以在WordPress選單編輯器中建立和管理。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
if ( apply_filters( 'custom_menu_order', false ) ) {
if ( apply_filters( 'custom_menu_order', false ) ) {
if ( apply_filters( 'custom_menu_order', false ) ) {

常見問題

FAQs
檢視更多 >