wp_set_unique_slug_on_create_template_part


wp_set_unique_slug_on_create_template_part ( $post_id )

Description

Sets a custom slug when creating auto-draft template parts.This is only needed for auto-drafts created by the regular WP editor. If this page is to be removed, this won't be necessary.

Related Functions

_get_block_templates_paths, wp_underscore_video_template, wp_underscore_playlist_templates, wp_underscore_audio_template, wp_enable_block_templates

Top Google Results

User discussions

wpseek mobile