---
title: "Update Custom Fonts Ability: Manage Custom Font Settings in WordPress"
url: https://nexterwp.com/docs/nexter-update-custom-fonts/
date: 2026-05-29
modified: 2026-05-29
author: "sandip patel"
description: "The nexter/update-custom-fonts ability updates the custom fonts configuration in Nexter Extension, controlling whether custom fonts are enabled and managing the list of loaded fonts."
word_count: 231
---

# Update Custom Fonts Ability: Manage Custom Font Settings in WordPress

## Key Takeaways

- Update Custom Fonts Ability in Nexter Extension allows toggling custom font settings on or off.
- Each font entry supports both simplefont and variablefont formats, replacing the existing fonts list entirely when provided.
- Use nexter/get-custom-fonts-settings to read the current font configuration before making updates.

The **nexter/update-custom-fonts** ability updates the custom fonts configuration in Nexter Extension. You can toggle the feature on or off and provide a list of custom fonts to load. Each font entry supports both standard and variable font formats. This ability replaces the full fonts list on each call.

## Key Takeaways

Both enabled and fonts parameters are optional. You can update either one independently.

When provided, the fonts array replaces the existing fonts list entirely.

Each font object supports both simplefont and variablefont subfields for different font types.

Use nexter/get-custom-fonts-settings to read current font configuration before making changes.

## 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

**enabled** (boolean, optional) controls whether the custom fonts feature is active.

**fonts** (array, optional) is the full list of font objects to register. Each object may contain simplefont and variablefont data.

## What It Returns

The ability returns **success** (boolean) and the updated **settings** object reflecting the new custom fonts configuration.

## When to Use This Ability

Register a new custom font on a site without using the WordPress admin UI.

Enable or disable the custom fonts feature as part of a site setup workflow.

Replace the full font list when migrating or cloning font configuration between sites.

## Related Documentation

Get Custom Fonts Settings Ability: nexter/get-custom-fonts-settings

Toggle Extension Ability: nexter/toggle-extension

Update Performance Settings Ability: nexter/update-performance-settings