Custom shortcode to add logout link with optional redirect URL and link text attributes