Merge pull request #1524 from ultimatemember/fix/social_links

Telegram and Discord social links in profile header
This commit is contained in:
Mykyta Synelnikov
2024-09-24 18:01:43 +03:00
committed by GitHub
+4
View File
@@ -1074,6 +1074,8 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
'icon' => 'fab fa-telegram',
'validate' => 'telegram_url',
'url_text' => 'Telegram',
'advanced' => 'social',
'color' => '#24A1DE',
'match' => 'https://t.me/',
),
@@ -1090,7 +1092,9 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
'url_text' => __( 'Discord', 'ultimate-member' ),
'url_rel' => 'nofollow',
'validate' => 'discord',
'advanced' => 'social',
'color' => '#7289da',
'match' => 'https://discord.com/users/',
),
'tiktok' => array(