[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Server-side rendering of the `core/navigation-link` block.
File Size: | 339 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
block_core_navigation_link_build_css_colors( $context, $attributes ) X-Ref |
Build an array with CSS classes and inline styles defining the colors which will be applied to the navigation markup in the front-end. return: array Colors CSS classes and inline styles. param: array $context Navigation block context. param: array $attributes Block attributes. |
block_core_navigation_link_build_css_font_sizes( $context ) X-Ref |
Build an array with CSS classes and inline styles defining the font sizes which will be applied to the navigation markup in the front-end. return: array Font size CSS classes and inline styles. param: array $context Navigation block context. |
block_core_navigation_link_render_submenu_icon() X-Ref |
Returns the top-level submenu SVG chevron icon. return: string |
render_block_core_navigation_link( $attributes, $content, $block ) X-Ref |
Renders the `core/navigation-link` block. return: string Returns the post content with the legacy widget added. param: array $attributes The block attributes. param: string $content The saved content. param: WP_Block $block The parsed block. |
build_variation_for_navigation_link( $entity, $kind ) X-Ref |
Returns a navigation link variation return: array param: WP_Taxonomy|WP_Post_Type $entity post type or taxonomy entity. param: string $kind string of value 'taxonomy' or 'post-type'. |
register_block_core_navigation_link() X-Ref |
Register the navigation link block. |
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |