• About WordPress
    • About WordPress
    • WordPress.org
    • Documentation
    • Support
    • Feedback
  • Log In
  • Register
WordPress.org
WordPress.org
  • Plugins
  • Themes
  • Patterns
  • Learn
  • Support
    • Documentation
    • Forums
  • News
  • About
  • Get Involved
    • Five for the Future
  • Showcase
  • Mobile
  • Hosting
  • Openverse
  • Get WordPress
Get WordPress

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Reference / wp-includes/theme-templates.php

wp_set_unique_slug_on_create_template_part()

Function: Sets a custom slug when creating auto-draft template parts.

Source: wp-includes/theme-templates.php:13

Used by 0 functions | Uses 6 functions

wp_filter_wp_template_unique_post_slug()

Function: Generates a unique slug for templates.

Source: wp-includes/theme-templates.php:47

Used by 0 functions | Uses 6 functions

the_block_template_skip_link()

Function: Prints the skip-link script & styles.

Source: wp-includes/theme-templates.php:109

Used by 0 functions | Uses 2 functions

wp_enable_block_templates()

Function: Enables the block templates (editor mode) for themes with theme.json by default.

Source: wp-includes/theme-templates.php:211

Used by 0 functions | Uses 3 functions
  • About
  • News
  • Hosting
  • Donate
  • Support
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org
  • Visit our Facebook page
  • Visit our Twitter account
Code is Poetry