ASTRA_THEME_SETTINGS . '[load-google-fonts-locally]', 'default' => astra_get_option( 'load-google-fonts-locally' ), 'type' => 'control', 'control' => 'ast-toggle-control', 'transport' => 'postMessage', 'title' => __( 'Load Google Fonts Locally', 'astra' ), 'section' => 'section-performance', 'priority' => 10, ), /** * Option: Preload local fonts. */ array( 'name' => ASTRA_THEME_SETTINGS . '[preload-local-fonts]', 'default' => astra_get_option( 'preload-local-fonts' ), 'type' => 'control', 'control' => 'ast-toggle-control', 'title' => __( 'Preload Local Fonts', 'astra' ), 'divider' => array( 'ast_class' => 'ast-top-divider ast-bottom-divider' ), 'section' => 'section-performance', 'transport' => 'postMessage', 'priority' => 20, 'context' => array( array( 'setting' => ASTRA_THEME_SETTINGS . '[load-google-fonts-locally]', 'operator' => '==', 'value' => true, ), ), ), /** * Option: Regenerate Font Files */ array( 'name' => ASTRA_THEME_SETTINGS . '[flush-local-font-files]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-performance', 'priority' => 30, 'title' => __( 'Flush Local Fonts Cache', 'astra' ), 'help' => '
' . __( 'Click the button to reset the local fonts cache.', 'astra' ) . '