navigation_widgets_format

過濾鉤子
apply_filters( 'navigation_widgets_format', $format )

navigation_widgets_format: 這是一個過濾鉤子,允許開發者修改小工具中導航選單專案的格式。

這個過濾器記錄在wpincludes/widgets/class-wp-nav-manu-widget.php中。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
$format = apply_filters( 'navigation_widgets_format', $format );
$format = apply_filters( 'navigation_widgets_format', $format );
$format = apply_filters( 'navigation_widgets_format', $format );

常見問題

FAQs
檢視更多 >