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' ) );
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 3.6.0 | Introduced. |