Header Redirect
// Add Shortcode function custom_shortcode() { $id = "example.com"; header(Location: http://www." . "$id"); exit; } add_shortcode( '', 'custom_shortcode' );
// Add Shortcode function custom_shortcode() { $id = "example.com"; header(Location: http://www." . "$id"); exit; } add_shortcode( '', 'custom_shortcode' );