function starlineUrl(){
// get the url from the api plugin serialized options and replace the http protocol with https using regex
$starlineOptions = unserialize( get_option( GLM_MEMBERS_APIS_STARLINE_OPTION_NAME ) );
- $starlineUrl = ( isset( $starlineOptions['ticketUrl'] ) ) ? $starlineOptions['ticketUrl'] : ''; echo $startlineUrl;
+ $starlineUrl = ( isset( $starlineOptions['ticketUrl'] ) ) ? $starlineOptions['ticketUrl'] : '';
$starlineUrl = preg_replace("/^http:/i", "https:", $starlineUrl);
return $starlineUrl;