Skip to content

Commit 9a90933

Browse files
committed
v4.3.25
Signed-off-by: Kev Provance <[email protected]>
1 parent c7d29fb commit 9a90933

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

redux-core/inc/extensions/custom_fonts/custom_fonts/class-redux-custom-fonts.php

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,6 @@
1818
*/
1919
class Redux_Custom_Fonts extends Redux_Field {
2020

21-
/**
22-
* Constructor.
23-
*
24-
* @param array $field Field.
25-
* @param array $value Values.
26-
* @param object $parent ReduxFramework.
27-
*
28-
* @throws ReflectionException Exception.
29-
*/
30-
public function __construct( $field = array(), $value = null, $parent = null ) {
31-
parent::__construct( $field, $value, $parent );
32-
33-
add_action( 'enqueue_block_editor_assets', array( $this, 'block_editor_styles' ), 99 );
34-
}
35-
3621
/**
3722
* Set field defaults.
3823
*/
@@ -219,23 +204,5 @@ public function enqueue() {
219204
);
220205
}
221206
}
222-
223-
/**
224-
* Add styles for block editor.
225-
*
226-
* @return void
227-
*/
228-
public function block_editor_styles(): void {
229-
$class = Redux_Extension_Custom_Fonts::$instance;
230-
231-
if ( ! empty( $class->custom_fonts ) ) {
232-
wp_enqueue_style(
233-
'redux-custom_fonts-css',
234-
$class->upload_url . 'fonts.css',
235-
array(),
236-
time()
237-
);
238-
}
239-
}
240207
}
241208
}

0 commit comments

Comments
 (0)