-
Notifications
You must be signed in to change notification settings - Fork 0
/
fonto.php
35 lines (30 loc) · 890 Bytes
/
fonto.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
* Plugin Name: Fonto - Custom Web Fonts Manager
* Version: 1.2.2
* Plugin URI: https://wordpress.org/plugins/fonto
* Description: Use your premium web fonts directly in the Editor or with the Customify and Style Manager plugins. Works with Typekit, MyFonts, Fonts.com, self-hosted fonts, and others.
* Author: Pixelgrade
* Author URI: https://pixelgrade.com
* Requires at least: 4.9.9
* Tested up to: 6.6.2
* License: GPL v2.0 (or later)
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: fonto
* Domain Path: /languages/
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Returns the main instance of Fonto to prevent the need to use globals.
*
* @since 1.0.0
* @return Fonto
*/
function fonto() {
require_once( 'includes/class-fonto.php' );
$instance = Fonto::instance( __FILE__, '1.2.2' );
return $instance;
}
$instance = fonto();