PluginProbe
WPSSO Core – Complete Schema Markup and Meta Tags / 22.7.0
WPSSO Core – Complete Schema Markup and Meta Tags v22.7.0
22.7.0 22.6.1 22.6.0 22.5.3 22.5.2 22.5.1 22.4.0 22.3.0 22.2.1 22.2.0 22.1.3 22.1.2 22.1.1 22.1.0 22.0.0 21.13.3 21.13.2 trunk 21.13.1
← All changes | lib/submenu/essential.php +52 -0 21.13.222.7.0 View file →
@@ -1,0 +1,52 @@
1 +<?php
2 +/*
3 + * License: GPLv3
4 + * License URI: https://www.gnu.org/licenses/gpl.txt
5 + * Copyright 2012-2026 Jean-Sebastien Morisset (https://wpsso.com/)
6 + */
7 +
8 +if ( ! defined( 'ABSPATH' ) ) {
9 +
10 + die( 'These aren\'t the droids you\'re looking for.' );
11 +}
12 +
13 +if ( ! defined( 'WPSSO_PLUGINDIR' ) ) {
14 +
15 + die( 'Do. Or do not. There is no try.' );
16 +}
17 +
18 +if ( ! class_exists( 'WpssoSubmenuGeneral' ) ) {
19 +
20 + require_once WPSSO_PLUGINDIR . 'lib/submenu/general.php';
21 +}
22 +
23 +if ( ! class_exists( 'WpssoSubmenuEssential' ) && class_exists( 'WpssoSubmenuGeneral' ) ) {
24 +
25 + class WpssoSubmenuEssential extends WpssoSubmenuGeneral {
26 +
27 + public function __construct( &$plugin, $id, $name, $lib, $ext ) {
28 +
29 + $this->p =& $plugin;
30 +
31 + if ( $this->p->debug->enabled ) {
32 +
33 + $this->p->debug->mark();
34 + }
35 +
36 + $this->menu_id = $id;
37 + $this->menu_name = $name;
38 + $this->menu_lib = $lib;
39 + $this->menu_ext = $ext;
40 +
41 + $this->menu_metaboxes = array(
42 + 'settings' => _x( 'Essential Settings', 'metabox title', 'wpsso' ),
43 + );
44 + }
45 +
46 + /*
47 + * Remove the "Change to View" button from this settings page.
48 + */
49 + protected function add_form_buttons_change_show_options( &$form_button_rows ) {
50 + }
51 + }
52 +}