# elementor/3.20.1/includes/widgets/share-buttons.php

Elementor Website Builder – more than just a page builder, version 3.20.1. 41 lines.

- Page: https://pluginprobe.com/plugins/elementor/3.20.1/code/includes/widgets/share-buttons.php
- Raw: https://pluginprobe.com/plugins/elementor/3.20.1/raw/includes/widgets/share-buttons.php
- Modified: 2024-02-29T11:51:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/elementor/3.20.1/code/includes/widgets/share-buttons.php#L10-L20`.

```php
<?php
namespace Elementor;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

class Widget_Share_Buttons extends Widget_Base {

	private static $supported_networks = [
		'facebook',
		'x-twitter',
		'twitter',
		'linkedin',
		'pinterest',
		'threads',
		'reddit',
		'vk',
		'odnoklassniki',
		'tumblr',
		'digg',
		'skype',
		'stumbleupon',
		'mix',
		'telegram',
		'pocket',
		'xing',
		'whatsapp',
		'email',
		'print',
	];

	public function get_name() {
		return 'share-buttons';
	}

	public static function get_supported_networks() {
		return self::$supported_networks;
	}
}

```
