---
title: "Get Custom Fonts Settings Ability: Read Uploaded Font Configuration in WordPress"
url: https://nexterwp.com/docs/nexter-ability-get-custom-fonts/
date: 2026-05-29
modified: 2026-05-29
author: "sandip patel"
description: "The nexter/get-custom-fonts ability returns the uploaded custom fonts configuration in Nexter Extension, including font names, file IDs, and weight variations."
word_count: 242
---

# Get Custom Fonts Settings Ability: Read Uploaded Font Configuration in WordPress

## Key Takeaways

- nexter/get-custom-fonts ability reads the current custom fonts configuration in Nexter Extension, including font names and media attachment IDs.
- Custom Fonts feature must be enabled in Nexter Extension, verified using nexter/list-extensions before uploading font files to WordPress Media Library.
- Ability returns a full custom fonts configuration object with font family names, media attachment IDs, and weight or style variations like 400 and 700.

The **nexter/get-custom-fonts** ability returns the current custom fonts configuration in Nexter Extension. It reads font names, media attachment IDs, and weight or style variations for each uploaded font. This is a read-only ability. Use it to inspect what custom fonts are configured before making updates with **nexter/update-custom-fonts**.

## Key Takeaways

This is a read-only ability. It does not modify any font settings or files.

It returns font families with their media attachment IDs and available weight or style variations.

This ability accepts no parameters. It always returns the full current configuration.

Call this ability before **nexter/update-custom-fonts** to review current font data and avoid overwriting existing entries.

## Required Setup

The Custom Fonts feature must be enabled in Nexter Extension. Use **nexter/list-extensions** to confirm it is active. Font files must be uploaded to the WordPress Media Library (WOFF2, TTF, or OTF format) before they appear in the configuration.

## What It Returns

The ability returns the full custom fonts configuration object.

Font family names for each configured custom font.

Media attachment IDs for the uploaded font files.

Weight and style variations per font, such as 400, 700, 400i (italic), and variable font data.

## When to Use This Ability

Read current font configuration before calling **nexter/update-custom-fonts** to avoid overwriting existing data.

Audit which custom fonts and weights are currently active on the site.

Retrieve attachment IDs of uploaded font files for reference in other operations.

## Related Documentation

nexter/update-custom-fonts: Enable custom fonts and add or edit font families

nexter/list-extensions: Confirm the Custom Fonts extension is enabled