30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

LearnDash List Certificate Fonts

learndash/list-certificate-fonts lists the font keys a certificate template can use: mPDF’s built-ins plus any custom fonts uploaded to this site.

An unrecognised font key silently falls back to the default and the certificate renders in the wrong typeface.

At a glance

Abilitylearndash/list-certificate-fonts
ToolsetLearnDash — toolset/learndash
GroupLearnDash › Certificates
RequiresAcrossAI Pro, plus LearnDash LMS active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

That silent fallback is the reason this exists. There is no error, no warning and no indication in the template — the certificate simply comes out in a font nobody chose, and the only way to notice is to look at one.

On a branded certificate that is a visible difference somebody will eventually mention, and it is easier to avoid than to diagnose.

Custom fonts are site-specific, so a font key that works on one site does not necessarily exist on another — which makes this a call before any template is copied between sites.

mPDF’s built-in fonts are limited and cover fewer scripts than a browser does. A certificate for a learner whose name is not in Latin script needs a font that supports it, and the default may not.

Read-only and cheap.

Input

This ability takes no input.

What comes back

NameTypeWhat it is
fontsarrayThe available font keys, built-in and custom.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

What fonts can our certificates use?

It resolves to one call:

{
  "ability": "learndash/list-certificate-fonts",
  "parameters": {}
}

Worth knowing

  • An unrecognised key falls back silently to the default.
  • Custom fonts are site-specific and do not travel with a template.
  • Built-in font coverage is narrower than a browser’s — check non-Latin names render.
  • Read-only.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading