Hi there,
This function has been depricated. However, you can add custom fonts simply by importing the font into your CSS file, then set the font in your CSS file also.
Example:
Google fonts:
https://fonts.google.com
Choose a font, click on the font, then on the top right click on the red text “Select this font”
On the bottom right you will see a black bar, choose a method to import your font: STandard or Import. Example:
Standard:
<link href=”https://fonts.googleapis.com/css?family=Roboto” rel=”stylesheet”>
Import:
<style>
@import url(‘https://fonts.googleapis.com/css?family=Roboto’);
</style>
copy the code, then paste it in your theme’s CSS file:
Wordpress dashboard > Appearance > Editor > your theme’s CSS file > paste the code > Save the file.
You will have to manually set the font in your CSS file by choosing the class to which you wish to apply the font. View Source of your calendar page to find the class name, then apply the font to your class. Example:
.classname {
font-family: roboto;
}