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)
  • (string) $item_id Menu item ID as a numeric string.
    Requis: Oui
  • (WP_Post) $menu_item Menu item data object.
    Requis: Oui
  • (int) $depth Depth of menu item. Used for padding.
    Requis: Oui
  • (stdClass|null) $args An object of menu item arguments.
    Requis: Oui
  • (int) $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 );