wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_nav_menu_item_custom_fields › Działania WordPress Hooks

Od5.4.0
Przestarzałyn/a
› do_action( 'wp_nav_menu_item_custom_fields', $item_id, $menu_item, $depth, $args, $current_object_id )
Parametry: (5)
  • () item_id Menu item ID as a numeric string.
    Wymagane: Tak
  • () menu_item Menu item data object.
    Wymagane: Tak
  • () depth Depth of menu item. Used for padding.
    Wymagane: Tak
  • () args An object of menu item arguments.
    Wymagane: Tak
  • () current_object_id Nav menu ID.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires just before the move buttons of a nav menu item in the menu editor.





Źródło

do_action( 'wp_nav_menu_item_custom_fields', $item_id, $menu_item, $depth, $args, $current_object_id );