mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-20 15:13:55 +09:00
Merge pull request #1524 from ultimatemember/fix/social_links
Telegram and Discord social links in profile header
This commit is contained in:
@@ -1074,6 +1074,8 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
|
|||||||
'icon' => 'fab fa-telegram',
|
'icon' => 'fab fa-telegram',
|
||||||
'validate' => 'telegram_url',
|
'validate' => 'telegram_url',
|
||||||
'url_text' => 'Telegram',
|
'url_text' => 'Telegram',
|
||||||
|
'advanced' => 'social',
|
||||||
|
'color' => '#24A1DE',
|
||||||
'match' => 'https://t.me/',
|
'match' => 'https://t.me/',
|
||||||
),
|
),
|
||||||
|
|
||||||
@@ -1090,7 +1092,9 @@ if ( ! class_exists( 'um\core\Builtin' ) ) {
|
|||||||
'url_text' => __( 'Discord', 'ultimate-member' ),
|
'url_text' => __( 'Discord', 'ultimate-member' ),
|
||||||
'url_rel' => 'nofollow',
|
'url_rel' => 'nofollow',
|
||||||
'validate' => 'discord',
|
'validate' => 'discord',
|
||||||
|
'advanced' => 'social',
|
||||||
'color' => '#7289da',
|
'color' => '#7289da',
|
||||||
|
'match' => 'https://discord.com/users/',
|
||||||
),
|
),
|
||||||
|
|
||||||
'tiktok' => array(
|
'tiktok' => array(
|
||||||
|
|||||||
Reference in New Issue
Block a user