Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plugin-republic/6e8d279e106fb527d97c8b638c47c835 to your computer and use it in GitHub Desktop.
Save plugin-republic/6e8d279e106fb527d97c8b638c47c835 to your computer and use it in GitHub Desktop.
apaou_custom_fonts_array.php
<?php
/**
* Register a custom font with Text Preview
*/
function prefix_register_custom_font( $fonts ) {
$fonts['font-1'] = 'My font 1';
return $fonts;
}
add_filter( 'apaou_custom_fonts_array', 'prefix_register_custom_font' );
@plugin-republic
Copy link
Author

Hi

Please raise a ticket here, https://pluginrepublic.com/my-account/, and we'll get straight back to you.

Gareth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment