Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions includes/class-freemius.php
Original file line number Diff line number Diff line change
Expand Up @@ -14034,6 +14034,10 @@ private function activate_license(
$result['next_page'] = $next_page;
}

if ( $result['success'] ) {
$this->do_action( 'after_license_activation' );
}

return $result;
}

Expand Down Expand Up @@ -21667,6 +21671,8 @@ protected function _activate_license( $background = false, $premium_license = nu
return;
}

$this->do_action( 'after_license_activation' );

$premium_license = new FS_Plugin_License( $license );

// Updated site plan.
Expand Down
3 changes: 2 additions & 1 deletion start.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @var string
*/
$this_sdk_version = '2.12.2.1';
$this_sdk_version = '2.12.2.2';

#region SDK Selection Logic --------------------------------------------------------------------

Expand Down Expand Up @@ -453,6 +453,7 @@ function_exists( 'wp_is_json_request' ) &&
*
* fs_after_license_loaded_{plugin_slug}
* fs_after_license_change_{plugin_slug}
* fs_after_license_activation_{plugin_slug}
* fs_after_license_deactivation_{plugin_slug}
* fs_after_plans_sync_{plugin_slug}
*
Expand Down