wp-includes/blocks/page-list.php
Lines:
1 to 23 of 23
<?php /** * Server-side rendering of the `core/pages` block. * * @package WordPress */ /* function 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. */ /* function block_core_page_list_build_css_font_sizes() – Build an array with CSS classes and inline styles defining the font sizes which will be applied to the pages markup in the front-end when it is a descendant of navigation. */ /* function block_core_page_list_render_nested_page_list() – Outputs Page list markup from an array of pages with nested children. */ /* function block_core_page_list_nest_pages() – Outputs nested array of pages */ /* function render_block_core_page_list() – Renders the `core/page-list` block on server. */ /* function register_block_core_page_list() – Registers the `core/pages` block on server. */ add_action( 'init', 'register_block_core_page_list' );