wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-includes/blocks/page-list.php › WordPress File
Functions6
› Server-side rendering of the `core/pages` block.
| Function | Short description |
|---|---|
| block_core_page_list_build_css_colors | Build an array with CSS classes and inline styles defining the colors which will be applied to the pages markup in the front-end when it is a descendant of navigation. |
| block_core_page_list_get_submenu_visibility | Returns the submenu visibility value with backward compatibility for the deprecated openSubmenusOnClick attribute. |
| block_core_page_list_nest_pages | Outputs nested array of pages |
| block_core_page_list_render_nested_page_list | Outputs Page list markup from an array of pages with nested children. |
| register_block_core_page_list | Registers the `core/pages` block on server. |
| render_block_core_page_list | Renders the `core/page-list` block on server. |