How to validation for sanitize_URL? August 20, 2022 by Tarik Billa There are functions available for url sanitization. esc_url() is one of them.