So I have this code from an addon (coded by @TickTackk 2 years ago I think).
From what I understand, skip if the visitors is not logged or not valid and also if internal links.
I want to add more condition, if the domain is equal to google.com then skip the condition.
What would be the exact code to use?
Many Thanks!
PHP:
if ((!$visitor->user_id || $visitor->user_state !== 'valid') && !$this->internalRenderedLink && $linkInfo['type'] !== 'internal')
I want to add more condition, if the domain is equal to google.com then skip the condition.
What would be the exact code to use?
Many Thanks!