updated theme GeneratePress version 3.5.1

This commit is contained in:
2024-10-09 12:47:30 +00:00
committed by Gitium
parent e13bab0b76
commit 7dcace54d3
38 changed files with 374 additions and 70 deletions

View File

@ -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()
: '',
)
);