[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Server-side rendering of the `core/home-link` block.
File Size: | 162 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
block_core_home_link_build_css_colors( $context ) X-Ref |
Build an array with CSS classes and inline styles defining the colors which will be applied to the home link markup in the front-end. return: array Colors CSS classes and inline styles. param: array $context home link block context. |
block_core_home_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 home link markup in the front-end. return: array Font size CSS classes and inline styles. param: array $context Home link block context. |
block_core_home_link_build_li_wrapper_attributes( $context ) X-Ref |
Builds an array with classes and style for the li wrapper return: array The li wrapper attributes. param: array $context Home link block context. |
render_block_core_home_link( $attributes, $content, $block ) X-Ref |
Renders the `core/home-link` block. return: string Returns the post content with the home url added. param: array $attributes The block attributes. param: string $content The saved content. param: WP_Block $block The parsed block. |
register_block_core_home_link() X-Ref |
Register the home block |
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |