File_Download::get_download_url()
Get the download URL string.
Return
(string|void)
Source
File: src/Events/Custom_Tables/V1/Migration/CSV_Report/File_Download.php
public static function get_download_url() {
return admin_url( "?" . self::DOWNLOAD_QUERY_PARAM . "=" . urlencode( self::DOWNLOAD_SLUG ) . '&wpnonce=' . wp_create_nonce() );
}
Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |