wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_nav_menu_item_custom_fields › WordPress Action Hooks

Da5.4.0
Deprecaton/a
› do_action( 'wp_nav_menu_item_custom_fields', $item_id, $menu_item, $depth, $args, $current_object_id )
Parametri: (5)
  • () item_id Menu item ID as a numeric string.
    Richiesto: Sì
  • () menu_item Menu item data object.
    Richiesto: Sì
  • () depth Depth of menu item. Used for padding.
    Richiesto: Sì
  • () args An object of menu item arguments.
    Richiesto: Sì
  • () current_object_id Nav menu ID.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

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