---
title: "Update Template Builder Ability: Edit a Theme Builder Template in WordPress"
url: https://nexterwp.com/docs/nexter-update-template-builder/
date: 2026-05-29
modified: 2026-05-29
author: "sandip patel"
description: "The nexter/update-template-builder ability updates an existing Nexter theme builder template by ID. Pass any combination of fields to change. Only the fields you provide are updated."
word_count: 311
---

# Update Template Builder Ability: Edit a Theme Builder Template in WordPress

## Key Takeaways

- Update an existing Nexter theme builder template using the nexter/update-template-builder ability by providing the template ID and desired fields.
- Utilize the required id parameter, which must be an integer, while optional parameters include title, display_rules, and sticky_header for specific template types.
- Access template IDs with the nexter/list-templates-builder tool before executing the update to ensure correct modifications.

The **nexter/update-template-builder** ability updates an existing Nexter theme builder template by its ID. Pass the template ID and any fields you want to change. Only the fields you provide are saved. Type-specific fields such as sticky_header only apply to their relevant template types.

## Key Takeaways

The id parameter is required and must be an integer. All other parameters are optional.

Only the fields you pass are updated. Omitted fields keep their existing values.

sticky_header and transparent_header only apply to header-type templates.

hook_action and hook_priority only apply to hooks-type templates.

Use nexter/list-templates-builder to find the template ID before calling this ability.

## Required Setup

This ability ships with Nexter Extension (Free). If you do not have it installed, follow the guide on how to install and activate Nexter Extension first.

## Parameters

**id** (integer, required) is the WordPress post ID of the template to update.

**title** (string, optional) updates the template's display name.

**display_rules** (array, optional) sets the conditions under which the template is shown.

**exclude_rules** (array, optional) sets the conditions under which the template is hidden.

**sticky_header** (object, optional) configures sticky behavior. Header templates only.

**transparent_header** (object, optional) configures transparent header settings. Header templates only.

**footer_style** (string, optional) sets the footer layout style. Footer templates only.

**hook_action** (string, optional) sets the WordPress action hook. Hooks templates only.

**hook_priority** (integer, optional) sets the action hook priority. Hooks templates only.

**disable_header_404** and **disable_footer_404** (booleans, optional) hide the header or footer on 404 pages. Page-404 templates only.

## What It Returns

The ability returns **success** (boolean) and the full updated template object with all current field values.

## When to Use This Ability

Update display rules on a header template to target a new post type or page condition.

Enable sticky header behavior on an existing header template without recreating it.

Change the hook action on a hooks template to fire at a different WordPress hook point.

## Related Documentation

Get Template Builder Ability: nexter/get-template-builder

Create Theme Builder Template Ability: nexter/create-template-builder

Toggle Template Builder Ability: nexter/toggle-template-builder