apaou_custom_fonts_array.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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' ); |
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
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 ????