Colon is Missing In My Website Url in WordPress

add_action( ‘init’, function() {

add_shortcode( ‘site_url’, function( $atts = null, $content = null ) {
return site_url();
});

});

I’m Using The Short Code [site_url] and My Short Code Function Returned https//shad-pro.com/contact-us

How Do I get The Proper Url With Colon :

Image Link

Read more here:: Colon is Missing In My Website Url in WordPress

Leave a Reply

Your email address will not be published. Required fields are marked *