# share-button/1.16/classes/network/buffer.php

Social Share Buttons, version 1.16. 28 lines.

- Page: https://pluginprobe.com/plugins/share-button/1.16/code/classes/network/buffer.php
- Raw: https://pluginprobe.com/plugins/share-button/1.16/raw/classes/network/buffer.php
- Modified: 2021-04-15T10:53:24+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/share-button/1.16/code/classes/network/buffer.php#L10-L20`.

```php
<?php
namespace MBSocial;
defined('ABSPATH') or die('No direct access permitted');


class bufferNetwork extends mbNetwork
{
	protected $network = 'buffer';
	protected $icon_type = 'nucleo';
	protected $icon = 'nucleo-logo-buffer';
	protected $priority = 'readmore';
	protected $color = '#242424';

	public function __construct()
	{
		$this->label = __('Share', 'mbsocial');
		$this->share_url = 'https://buffer.com/add?url={url}&text={title}';
		$this->popup_dimensions = array(600,600);

		$this->countable = true;
		$this->count_api = 'https://api.bufferapp.com/1/links/shares.json?url={url}';
		$this->return_var = 'shares';

		parent::__construct();

	}
}

```
