Astra_Customizer::delete_cached_partials()

Delete the cached partial configs.


Description


Source

File: inc/customizer/class-astra-customizer.php

		public function delete_cached_partials() {
			delete_option( 'astra_partials_config_cache' );

			// Delete previously stored local fonts data, if exists.
			if ( astra_get_option( 'load-google-fonts-locally' ) ) {
				$local_webfont_loader = astra_webfont_loader_instance( '' );
				$local_webfont_loader->astra_delete_fonts_folder();
			}
		}


User Contributed Notes

You must log in before being able to contribute a note or feedback.