PluginProbe
Elementor Website Builder – more than just a page builder / 3.23.0-beta5
Elementor Website Builder – more than just a page builder v3.23.0-beta5
4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 All 455 releases
← All changes | core/base/providers/social-network-provider.php +1 -14 4.1.3 → 3.23.0-beta5 View file →
@@ -52,8 +52,9 @@
52 52 return self::$social_networks[ $platform ]['icon'];
53 53 }
54 54
55 55 return '';
56 +
56 57 }
57 58
58 59 public static function get_name_mapping( string $platform ): string {
59 60 static::init_social_networks_array_if_empty();
@@ -64,18 +65,8 @@
64 65
65 66 return '';
66 67 }
67 68
68 - public static function get_text_mapping( string $platform ): string {
69 - static::init_social_networks_array_if_empty();
70 -
71 - if ( isset( self::$social_networks[ $platform ]['text'] ) ) {
72 - return self::$social_networks[ $platform ]['text'];
73 - }
74 -
75 - return '';
76 - }
77 -
78 69 public static function get_social_networks_text( $providers = [] ): array {
79 70 static::init_social_networks_array_if_empty();
80 71
81 72 static $texts = [];
@@ -240,12 +231,8 @@
240 231 'text' => esc_html__( 'Skype', 'elementor' ),
241 232 'icon' => 'fab fa-skype',
242 233 'name' => 'skype',
243 234 ];
244 - }
245 -
246 - public static function build_messenger_link( string $username ) {
247 - return 'https://m.me/' . $username;
248 235 }
249 236
250 237 public static function build_email_link( array $data, string $prefix ) {
251 238 $email = $data[ $prefix . '_mail' ] ?? '';