Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    User templates are saved as special post type “wp_template”. You could make an API call to get such a post. If the call fails, the template presumably had been deleted, or it never existed. You will need the template’s slug name or ID or some way of uniquely identifying the template.

Viewing 1 replies (of 1 total)
  • The topic ‘How to determine if a template has been deleted in gutenberg editor.’ is closed to new replies.