[ad_1]
Hello @sirrahikkala , thank you for reaching out.
Wordfence is just checking if it needs to show the onboarding message, in case setup hasn’t been completed.
The reason for multiple checks on each pageload is that some other admin notices need to check if there is already an onboarding notice, to avoid showing multiple notices when onboarding has not been completed yet.
The functions alone are extremely fast, and even if we could skip calling some of them, there wouldn’t be a noticeable speed difference. The one SELECT query to check the onboardingAttempt3 is one of the few config values that we do not autoload along with the rest.
Thanks,
Christian
