[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)





/wp-includes/ -> theme-templates.php (summary)

(no description)

File Size: 186 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions


Functions that are not part of a class:

wp_filter_wp_template_unique_post_slug( $override_slug, $slug, $post_ID, $post_status, $post_type )   X-Ref
Generates a unique slug for templates.

param: string $override_slug The filtered value of the slug (starts as `null` from apply_filter).
param: string $slug          The original/un-filtered slug (post_name).
param: int    $post_ID       Post ID.
param: string $post_status   No uniqueness checks are made if the post is still draft or pending.
param: string $post_type     Post type.
return: string The original, desired slug.

the_block_template_skip_link()   X-Ref
Print the skip-link script & styles.

return: void

wp_enable_block_templates()   X-Ref
Enable the block templates (editor mode) for themes with theme.json by default.

Generated : Mon Oct 18 08:20:03 2021 Cross-referenced by PHPXref