Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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' );
@websiterdesigner1
Copy link

websiterdesigner1 commented Oct 13, 2021

Thank You So Much. Can you tell that how can we type the custom font?

function prefix_register_custom_font( $fonts ) {
$fonts**['font-1']** = 'My font 1';
return $fonts;

font-1 ????

@plugin-republic
Copy link
Author

plugin-republic commented Oct 14, 2021

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