wpseek.com
A WordPress-centric search engine for devs and theme authors



wp-includes/blocks/navigation.php › WordPress File

Functions6
Server-side rendering of the `core/navigation` block.


Function Short description
block_core_navigation_build_css_colorsBuild an array with CSS classes and inline styles defining the colors which will be applied to the navigation markup in the front-end.
block_core_navigation_build_css_font_sizesBuild an array with CSS classes and inline styles defining the font sizes which will be applied to the navigation markup in the front-end.
block_core_navigation_render_submenu_iconReturns the top-level submenu SVG chevron icon.
block_core_navigation_typographic_presets_backcompatibilityFilter that changes the parsed attribute values of navigation blocks contain typographic presets to contain the values directly.
register_block_core_navigationRegister the navigation block.
render_block_core_navigationRenders the `core/navigation` block on server.