=' ) ) { return; } $priority = has_action( self::PRO_BOOT_HOOK, self::PRO_BOOT_CALLBACK ); if ( false === $priority ) { return; } remove_action( self::PRO_BOOT_HOOK, self::PRO_BOOT_CALLBACK, (int) $priority ); self::$blocked_version = $version; } /** * Version of the add-on that was stopped on this request. * * @return string Version, or '' when nothing was stopped. */ public static function blocked_version(): string { return self::$blocked_version; } /** * First compatible version, for the admin notice. * * @return string Version. */ public static function minimum_version(): string { return self::MIN_PRO_VERSION; } }