Brainstorm_Update_Astra_Addon::get_registration_page_url()
Get registration page url for astra addon.
Description
Return
(String) URL of the licnense registration page.
Source
File: class-brainstorm-update-astra-addon.php
public function get_registration_page_url() {
$url = admin_url( 'themes.php?page=astra' );
if ( method_exists( 'Astra_Admin_Settings', 'get_theme_page_slug' ) ) {
$url = admin_url( 'themes.php?page=' . Astra_Admin_Settings::get_theme_page_slug() );
}
return $url;
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |