PluginProbe
Social Share Buttons / 1.4
Social Share Buttons v1.4
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 / custom.php

custom.php in Social Share Buttons 1.4, at classes/network/custom.php

40 lines 657 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace MBSocial;
3
4 class customNetwork extends mbNetwork
5 {
6
7 protected $priority = 'readmore';
8 protected $is_native = false;
9
10
11 /* public function set()
12 {
13
14 }
15 */
16 public function load_settings($settings)
17 {
18 parent::load_settings($settings);
19
20 if (isset($settings['name']))
21 {
22 $this->network = $settings['name'];
23 }
24
25 /* foreach($fields as $name => $value)
26 {
27 if ($name == 'name')
28 $name = 'network';
29 if ($name == 'popup')
30 $name = 'is_popup';
31
32 echo " $name - $value <BR>";
33
34 if ($value && strlen($value) > 0)
35 $this->{$name} = $value;
36 }
37 */
38 }
39 }
40