---
title: "Delete Theme Builder Template Ability: Permanently Remove a Template in WordPress"
url: https://nexterwp.com/docs/nexter-ability-delete-template-builder/
date: 2026-05-29
modified: 2026-05-29
author: "sandip patel"
description: "The nexter/delete-template-builder ability permanently deletes a Nexter Theme Builder template by post ID. This action cannot be undone."
word_count: 204
---

# Delete Theme Builder Template Ability: Permanently Remove a Template in WordPress

## Key Takeaways

- nexter/delete-template-builder permanently deletes a Nexter Theme Builder template by post ID and removes all associated metadata from WordPress.
- Deletion using nexter/delete-template-builder cannot be undone once executed, making it a destructive action.
- Users must verify the template ID with nexter/list-templates-builder before calling nexter/delete-template-builder to ensure accuracy.

The **nexter/delete-template-builder** ability permanently deletes a Nexter Theme Builder template by post ID. It removes the template and all its metadata from WordPress. This action cannot be undone. Always verify the template ID using **nexter/list-templates-builder** before calling this ability.

## Key Takeaways

This is a destructive action. Deletion cannot be undone once the ability executes.

The template post and all associated metadata are permanently removed from WordPress.

Always use **nexter/list-templates-builder** first to confirm the correct template ID before deleting.

If you only want to stop a template from showing, use **nexter/toggle-template-builder** with status=0 instead.

## Required Setup

You need a valid template post ID from **nexter/list-templates-builder** before calling this ability. The Theme Builder feature must be enabled in Nexter Extension settings.

## Parameters

**id** (integer, required) is the template post ID to delete. Must be a positive integer. Get valid IDs from **nexter/list-templates-builder**.

## What It Returns

**success** (boolean) confirming the template was deleted.

**message** confirming the deletion result.

## When to Use This Ability

Permanently remove a header, footer, or section template that is no longer in use.

Clean up draft or test templates after a design phase is complete.

## Related Documentation

nexter/list-templates-builder: Find the template ID before deleting

nexter/toggle-template-builder: Disable a template without deleting it

nexter/get-template-builder: Review a template settings before deciding to delete