wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_nav_menu_item_custom_fields › Les Actions WordPress

Depuis5.4.0
Dépréciéen/a
› do_action( 'wp_nav_menu_item_custom_fields', $item_id, $menu_item, $depth, $args, $current_object_id )
Paramètres: (5)
  • () item_id Menu item ID as a numeric string.
    Requis: Oui
  • () menu_item Menu item data object.
    Requis: Oui
  • () depth Depth of menu item. Used for padding.
    Requis: Oui
  • () args An object of menu item arguments.
    Requis: Oui
  • () current_object_id Nav menu ID.
    Requis: Oui
Défini(e) dans:
Codex:

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





Source

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