Astra_WebFont_Loader::astra_delete_fonts_folder()

Delete the fonts folder.


Description

This runs as part of a cleanup routine.


Return

(bool)


Source

File: inc/lib/webfont/class-astra-webfont-loader.php

	public function astra_delete_fonts_folder() {
		// Delete previously created supportive options.
		astra_delete_option( 'astra_font_url' );
		delete_site_option( 'astra_local_font_files' );
		return $this->get_filesystem()->delete( $this->get_fonts_folder(), true );
	}

Changelog

Changelog
Version Description
3.6.0 Introduced.

User Contributed Notes

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