Version Description
- Builder Font Family missing issue fixed.
Download this release
Release Info
Developer | dnesscarkey |
Plugin | Use Any Font |
Version | 6.0.1 |
Comparing to | |
See all releases |
Code changes from version 6.0 to 6.0.1
- includes/functions/uaf_font_functions.php +11 -0
- includes/uaf_config.php +1 -1
- readme.txt +4 -1
- use-any-font.php +1 -1
includes/functions/uaf_font_functions.php
CHANGED
@@ -10,6 +10,17 @@ function uaf_get_uploaded_font_data(){
|
|
10 |
return json_decode($fontsRawData, true);
|
11 |
}
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
function uaf_save_font_files($font_name, $convertResponse){
|
14 |
uaf_create_folder(); // CREATE FOLDER IF DOESN"T EXISTS
|
15 |
$uafPath = uaf_path_details();
|
10 |
return json_decode($fontsRawData, true);
|
11 |
}
|
12 |
|
13 |
+
function uaf_get_font_families(){
|
14 |
+
$fontsData = uaf_get_uploaded_font_data();
|
15 |
+
$fonts_uaf = array();
|
16 |
+
if (!empty($fontsData)):
|
17 |
+
foreach ($fontsData as $key=>$fontData):
|
18 |
+
$fonts_uaf[] = $fontData['font_name'];
|
19 |
+
endforeach;
|
20 |
+
endif;
|
21 |
+
return $fonts_uaf;
|
22 |
+
}
|
23 |
+
|
24 |
function uaf_save_font_files($font_name, $convertResponse){
|
25 |
uaf_create_folder(); // CREATE FOLDER IF DOESN"T EXISTS
|
26 |
$uafPath = uaf_path_details();
|
includes/uaf_config.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
$GLOBALS['uaf_current_version'] = '6.0';
|
4 |
|
5 |
|
6 |
$GLOBALS['uaf_fix_settings'] = array(
|
1 |
<?php
|
2 |
|
3 |
+
$GLOBALS['uaf_current_version'] = '6.0.1';
|
4 |
|
5 |
|
6 |
$GLOBALS['uaf_fix_settings'] = array(
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: dnesscarkey
|
|
3 |
Tags: custom fonts, font embed, font uploader, typography, install font
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.6
|
6 |
-
Stable tag: 6.0
|
7 |
|
8 |
Embed any custom font using font uploader and assign to elements. Upload font in 1 format and other needed formats are auto converted even woff2.
|
9 |
|
@@ -143,6 +143,9 @@ Please do write us after integration and we will add it in our supported list.
|
|
143 |
|
144 |
== Changelog ==
|
145 |
|
|
|
|
|
|
|
146 |
= 6.0 =
|
147 |
* New UI interface
|
148 |
* Fixed CDN issue.
|
3 |
Tags: custom fonts, font embed, font uploader, typography, install font
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.6
|
6 |
+
Stable tag: 6.0.1
|
7 |
|
8 |
Embed any custom font using font uploader and assign to elements. Upload font in 1 format and other needed formats are auto converted even woff2.
|
9 |
|
143 |
|
144 |
== Changelog ==
|
145 |
|
146 |
+
= 6.0.1 =
|
147 |
+
* Builder Font Family missing issue fixed.
|
148 |
+
|
149 |
= 6.0 =
|
150 |
* New UI interface
|
151 |
* Fixed CDN issue.
|
use-any-font.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Use Any Font
|
|
4 |
Plugin URI: https://dineshkarki.com.np/use-any-font
|
5 |
Description: Embed any font in your website
|
6 |
Author: Dnesscarkey
|
7 |
-
Version: 6.0
|
8 |
Author URI: https://dineshkarki.com.np/use-any-font
|
9 |
*/
|
10 |
|
4 |
Plugin URI: https://dineshkarki.com.np/use-any-font
|
5 |
Description: Embed any font in your website
|
6 |
Author: Dnesscarkey
|
7 |
+
Version: 6.0.1
|
8 |
Author URI: https://dineshkarki.com.np/use-any-font
|
9 |
*/
|
10 |
|