File: wp-includes/theme-templates.php
-
Enqueues the skip-link script & styles.
-
Sets a custom slug when creating auto-draft template parts.
-
Generates a unique slug for templates.
-
functionwp_enable_block_templates()
Enables the block templates (editor mode) for themes with theme.json by default.