PluginProbe ʕ •ᴥ•ʔ
Hustle – Email Marketing, Lead Generation, Optins, Popups / 7.8.9
Hustle – Email Marketing, Lead Generation, Optins, Popups v7.8.9
7.8.14 7.8.14.1 7.8.13 7.8.13.1 trunk 3.0 3.1 3.1.1 3.1.2 3.1.3 3.1.4 4.3.2 4.4.4 4.4.5 4.4.5.1 4.4.5.4 4.6 4.6.1.1 4.6.1.4 4.7.0.2 4.7.0.3 4.7.0.7 4.7.0.9 4.7.1.0 4.7.1.1 4.8.0.0 5.0.0 5.0.1 5.0.1.1 5.0.1.2 5.1 5.1.1 5.1.2 5.1.3 5.1.3.1 5.1.3.2 5.1.4 5.1.5 6.0 6.0.1 6.0.2 6.0.3 6.0.4.2 6.0.5 6.0.6.1 6.0.7 6.0.8.1 6.0.9 7.0.0.1 7.0.2 7.0.3 7.0.4 7.1.0 7.1.1 7.2.0 7.2.1 7.3.0 7.3.1 7.3.3 7.3.5 7.3.6 7.3.7 7.4.0 7.4.1 7.4.11 7.4.13 7.4.13.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.5.1 7.4.5.2 7.4.6 7.4.7 7.5.0 7.6.0 7.6.1 7.6.3 7.6.4 7.6.6 7.7.0 7.7.1 7.8.0 7.8.1 7.8.10 7.8.10.1 7.8.10.2 7.8.11 7.8.12 7.8.12.1 7.8.2 7.8.3 7.8.4 7.8.5 7.8.6 7.8.7 7.8.8 7.8.9 7.8.9.1 7.8.9.2 7.8.9.3
wordpress-popup / inc / metas / sshare / hustle-sshare-content.php
wordpress-popup / inc / metas / sshare Last commit date
hustle-sshare-content.php 3 years ago hustle-sshare-design.php 3 years ago hustle-sshare-display.php 3 years ago
hustle-sshare-content.php
52 lines
1 <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
2 /**
3 * File for Hustle_SShare_Content class.
4 *
5 * @package Hustle
6 * @since unknown
7 */
8
9 /**
10 * Hustle_SShare_Content is the base class for the "content" meta of Social Sharing modules.
11 *
12 * @since unknwon
13 */
14 class Hustle_SShare_Content extends Hustle_Meta {
15
16 /**
17 * Get the defaults for this meta.
18 *
19 * @since 4.4.1
20 * @return array
21 */
22 public function get_defaults() {
23 return array(
24 'social_icons' => array(),
25 'counter_enabled' => '1',
26 );
27 }
28
29 /**
30 * Retrieves the list of social icons.
31 *
32 * @since 4.3.0
33 *
34 * @return array
35 */
36 public function get_social_icons() {
37 $networks = ! empty( $this->data['social_icons'] ) ? $this->data['social_icons'] : array();
38 return $networks;
39 }
40
41 /**
42 * Returns whether the module has CTA active.
43 *
44 * @since 4.3.1
45 *
46 * @return boolean
47 */
48 public function has_cta() {
49 return false;
50 }
51 }
52