updated theme GeneratePress
version 3.5.1
This commit is contained in:
@ -370,6 +370,12 @@ function generate_do_control_inline_scripts() {
|
||||
'palette' => $colors,
|
||||
'showGoogleFonts' => apply_filters( 'generate_font_manager_show_google_fonts', true ),
|
||||
'colorPickerShouldShift' => function_exists( 'did_filter' ),
|
||||
'gpFontLibrary' => class_exists( 'GeneratePress_Pro_Font_Library' )
|
||||
? GeneratePress_Pro_Font_Library::get_fonts()
|
||||
: array(),
|
||||
'gpFontLibraryURI' => class_exists( 'GeneratePress_Pro_Font_Library' )
|
||||
? GeneratePress_Pro_Font_Library::get_font_library_uri()
|
||||
: '',
|
||||
)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user