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



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

Functions9
Server-side registering and rendering of the `core/navigation-link` block.


Function Short description
block_core_navigation_link_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_link_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_link_build_variationsReturns an array of variations for the navigation link block.
block_core_navigation_link_filter_variationsFilters the registered variations for a block type.
block_core_navigation_link_maybe_urldecodeDecodes a url if it's encoded, returning the same url if not.
block_core_navigation_link_render_submenu_iconReturns the top-level submenu SVG chevron icon.
build_variation_for_navigation_linkReturns a navigation link variation
register_block_core_navigation_linkRegisters the navigation link block.
render_block_core_navigation_linkRenders the `core/navigation-link` block.