Astra_WebFont_Loader::__construct( string $url = '' )

Constructor.


Description

Get a new instance of the object for a new URL.


Parameters

$url

(string) (Optional) The remote URL.

Default value: ''


Source

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

	public function __construct( $url = '' ) {
		$this->remote_url = $url;

		// Add a cleanup routine.
		$this->schedule_cleanup();
		add_action( 'astra_delete_fonts_folder', array( $this, 'astra_delete_fonts_folder' ) );
	}

Changelog

Changelog
Version Description
3.6.0 Introduced.

User Contributed Notes

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