Created
May 20, 2021 10:39
-
-
Save plugin-republic/6e8d279e106fb527d97c8b638c47c835 to your computer and use it in GitHub Desktop.
apaou_custom_fonts_array.php
This file contains hidden or 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 ????