PluginProbe
Social Share Buttons / 0.9
Social Share Buttons v0.9
trunk 0.9 1.0 1.1 1.1.1 1.1.2 1.10 1.11 1.12 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.3 1.30 1.4 1.5 1.6 1.7 1.8 1.9
share-button / classes / network / buffer.php

buffer.php in Social Share Buttons 0.9, at classes/network/buffer.php

24 lines 603 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace MBSocial;
3 defined('ABSPATH') or die('No direct access permitted');
4
5
6 class bufferNetwork extends mbNetwork
7 {
8 protected $network = 'buffer';
9 protected $icon_type = 'nucleo';
10 protected $icon = 'nucleo-logo-buffer';
11 protected $priority = 'readmore';
12
13 public function __construct()
14 {
15 $this->label = __('Share', 'mbsocial');
16 $this->share_url = 'https://buffer.com/add?url={url}&text={title}';
17 $this->popup_dimensions = array(600,600);
18
19 $this->countable = true;
20 $this->count_api = 'https://api.bufferapp.com/1/links/shares.json?url={url}';
21 $this->return_var = 'shares';
22 }
23 }
24