Skip to content

Commit

Permalink
Merge pull request #2276 from patphg/Add-TikTok-output-to-social_url
Browse files Browse the repository at this point in the history
Adds tiktok output to social_url function
  • Loading branch information
chrisblakley authored Feb 26, 2024
2 parents 8750932 + 497ec00 commit e54b4e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/Functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,7 @@ public function social_url($network){
return esc_url($this->get_option('facebook_url'));

case 'twitter':
case 'x':
return $this->twitter_url(); //Use the provided function from Nebula Options

case 'linkedin':
Expand All @@ -993,6 +994,9 @@ public function social_url($network){
case 'youtube':
return esc_url($this->get_option('youtube_url'));

case 'tiktok':
return esc_url($this->get_option('tiktok_url'));

default:
return false;
}
Expand Down

0 comments on commit e54b4e1

Please sign in to comment.