Skip to content

List Templates Builder Ability: Get All Theme Builder Templates with Filters in WordPress

Key Takeaways

  • Nexter/list-templates-builder ability retrieves all Nexter theme builder templates, allowing filters by template type and publish status.
  • Supported template types include header, footer, breadcrumb, hooks, singular, archives, page-404, section; supported statuses are publish and draft.
  • Nexter Extension (Free) is required for this ability, which returns an array of template summary objects including id, title, type, and status.
Table of Contents

The nexter/list-templates-builder ability returns all Nexter theme builder templates. You can filter by template type (header, footer, section, etc.) and by publish status. Use this ability to browse available templates or find a template ID before reading or modifying it.

Key Takeaways

Both type and status parameters are optional. Omitting them returns all templates.

Supported type values are: header, footer, breadcrumb, hooks, singular, archives, page-404, section, or empty string for all.

Supported status values are: publish, draft, or empty string for all.

This ability is read-only. It never creates, modifies, or deletes any template.

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

**type** (string, optional) filters templates by type. Options: header, footer, breadcrumb, hooks, singular, archives, page-404, section, or empty string for all.

**status** (string, optional) filters templates by WordPress post status. Options: publish, draft, or empty string for all.

What It Returns

The ability returns an array of template summary objects. Each object includes: id (integer), title, type, and status. Use nexter/get-template-builder with a specific ID to retrieve the full template with display rules and type-specific settings.

When to Use This Ability

Find a template ID before calling nexter/get-template-builder or nexter/update-template-builder.

List all header templates to see which are published and available for display.

Audit all draft templates to identify unfinished work across a site.

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

Share your Thoughts

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!