PluginProbe
QuadMenu – Mega Menu / 3.3.8
QuadMenu – Mega Menu v3.3.8
3.3.8 3.3.7 3.3.6 trunk 1.8.4 1.8.5 1.8.7 1.8.8 1.8.9 1.9.0 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 88 releases
quadmenu / jetpack_vendor / quadlayers / wp-notice-plugin-promote / src / PluginBySlug.php

PluginBySlug.php in QuadMenu – Mega Menu 3.3.8, at jetpack_vendor/quadlayers/wp-notice-plugin-promote/src/PluginBySlug.php

49 lines 792 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * QuadLayers WP Notice Plugin Promote
4 *
5 * @package quadlayers/wp-notice-plugin-promote
6 * @author QuadLayers
7 * @link https://github.com/quadlayers/wp-notice-plugin-promote
8 * @copyright Copyright (c) 2023
9 * @license GPL-3.0
10 */
11
12 namespace QuadLayers\WP_Notice_Plugin_Promote;
13
14 /**
15 * PluginBySlug Class
16 * This class handles plugin data based on plugin slug
17 *
18 * @since 1.0.0
19 */
20 class PluginBySlug {
21
22 use Traits\PluginActions;
23
24 /**
25 * Plugin instance.
26 *
27 * @var array
28 */
29 protected static $instance = array();
30
31 /**
32 * Plugin slug
33 *
34 * @var string
35 */
36 protected $plugin_slug;
37
38 /**
39 * Contructor.
40 *
41 * @param string $plugin_slug Plugin slug.
42 */
43 public function __construct( string $plugin_slug ) {
44
45 $this->plugin_slug = $plugin_slug;
46 }
47
48 }
49