wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_nav_menu_item_custom_fields › WordPress Action Hooks

Seit5.4.0
Veraltetn/v
do_action( 'wp_nav_menu_item_custom_fields', $item_id, $menu_item, $depth, $args, $current_object_id )
Parameter: (5)
  • (string) $item_id Menu item ID as a numeric string.
    Erforderlich: Ja
  • (WP_Post) $menu_item Menu item data object.
    Erforderlich: Ja
  • (int) $depth Depth of menu item. Used for padding.
    Erforderlich: Ja
  • (stdClass|null) $args An object of menu item arguments.
    Erforderlich: Ja
  • (int) $current_object_id Nav menu ID.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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