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-plugin-suggestions / src / Load.php

Load.php in QuadMenu – Mega Menu 3.3.8, at jetpack_vendor/quadlayers/wp-plugin-suggestions/src/Load.php

59 lines 1013 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * QuadLayers WP Plugin Suggestions
4 *
5 * @package quadlayers/wp-plugin-suggestions
6 * @author QuadLayers
7 * @link https://github.com/quadlayers/wp-plugin-suggestions
8 * @copyright Copyright (c) 2023
9 * @license GPL-3.0
10 */
11
12 namespace QuadLayers\WP_Plugin_Suggestions;
13
14 use QuadLayers\WP_Plugin_Suggestions\Page;
15
16 /**
17 * Load class
18 */
19 class Load {
20
21 /**
22 * Plugin data
23 *
24 * @var array
25 */
26 private $plugin_data = array(
27 'author' => 'quadlayers',
28 'per_page' => 36,
29 'exclude' => array(),
30 'parent_menu_slug' => null,
31 'promote_links' => array(),
32 );
33
34 /**
35 * Page model
36 *
37 * @var Page
38 */
39 public $page = null;
40
41 /**
42 * Load constructor.
43 *
44 * @param array $plugin_data Plugin data.
45 */
46 public function __construct( array $plugin_data = array() ) {
47 /**
48 * Merge plugin data with default data
49 */
50 $this->plugin_data = wp_parse_args(
51 $plugin_data,
52 $this->plugin_data
53 );
54
55 $this->page = new Page( $this->plugin_data );
56 }
57
58 }
59