Skip to content
  • Log In
  • Register
WordPress.org
  • News
  • Download & Extend
    • Get WordPress
    • Themes
    • Patterns
    • Plugins
    • Openverse
    • Mobile
    • Hosting
  • Learn
    • Learn WordPress
    • Documentation
    • Forums
    • WordPress.tv
    • Developers
  • Community
    • Make WordPress
    • WordCamp
    • Meetups
    • Photo Directory
    • Job Board
    • Five for the Future
  • About
    • About WordPress
    • Showcase
    • Gutenberg
    • Enterprise
    • WordPress Swag Store
  • Get WordPress
Get WordPress

Developer Resources

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
  • Swag
  • Documentation
  • 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
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry