https://sangkrit.net/process-outgoing-links-differently-from-internal-links-in-wordpress/
Process Outgoing Links Differently From Internal Links In WordPress