| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Fonto |
| 4 |
* Version: 1.0.4 |
| 5 |
* Plugin URI: https://pixelgrade.com |
| 6 |
* Description: Use your premium web fonts directly in the Editor or with the Customify plugin. Works with Typekit, MyFonts, Fonts.com, self-hosted fonts, and others. |
| 7 |
* Author: Pixelgrade |
| 8 |
* Author URI: https://pixelgrade.com |
| 9 |
* Requires at least: 4.7 |
| 10 |
* Tested up to: 4.9.8 |
| 11 |
* |
| 12 |
* Text Domain: fonto |
| 13 |
* Domain Path: /lang/ |
| 14 |
* |
| 15 |
* @package WordPress |
| 16 |
* @author Pixelgrade |
| 17 |
* @since 1.0.0 |
| 18 |
*/ |
| 19 |
|
| 20 |
if ( ! defined( 'ABSPATH' ) ) { |
| 21 |
exit; |
| 22 |
} |
| 23 |
|
| 24 |
/** |
| 25 |
* Returns the main instance of Fonto to prevent the need to use globals. |
| 26 |
* |
| 27 |
* @since 1.0.0 |
| 28 |
* @return Fonto |
| 29 |
*/ |
| 30 |
function fonto() { |
| 31 |
|
| 32 |
require_once( 'includes/class-fonto.php' ); |
| 33 |
$instance = Fonto::instance( __FILE__, '1.0.5' ); |
| 34 |
|
| 35 |
return $instance; |
| 36 |
} |
| 37 |
|
| 38 |
$instance = fonto(); |
| 39 |
|