mirror of
https://github.com/proelements/proelements.git
synced 2026-05-05 09:05:59 +00:00
v4.0.4
This commit is contained in:
@@ -76,6 +76,17 @@ class Admin {
|
||||
}
|
||||
|
||||
|
||||
public function handle_check_license() {
|
||||
if ( '1' !== Utils::get_super_global_value( $_GET, 'check-license' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
API::get_license_data( true );
|
||||
|
||||
wp_safe_redirect( remove_query_arg( 'check-license' ) );
|
||||
exit;
|
||||
}
|
||||
|
||||
public function register_actions() {
|
||||
add_filter( 'http_response', [ $this, 'http_remove_pro_templates'], 10, 3 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user