wp_setup_nav_menu_item

过滤钩子


apply_filters( 'wp_setup_nav_menu_item', $post )
定义位置
  • wp-includes/customize/class-wp-customize-nav-menu-item-setting.php
    , line 644
引入
n/a
弃用

This filter is documented in wp-includes/nav-menu.php

$post = apply_filters( 'wp_setup_nav_menu_item', $post );