Skip to content

Filter: apple_news_fonts_list

kevinfodness edited this page Oct 23, 2020 · 1 revision

apply_filters( 'apple_news_fonts_list', array $fonts )

Allows the font list to be filtered, so that any custom fonts that have been approved by Apple and added to your channel will be able to be added to the list for selection.

Parameters

$fonts

(array) An array of TrueType font names.

More Information

Use this filter to add a custom font that has been loaded into your Apple News channel. The font must be available on your system. TrueType font names must be used (which may differ from the filename of the font itself).

Source

includes/apple-exporter/class-theme.php

Clone this wiki locally