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
wpsso / lib / integ / data / wpmetaseo-meta.php

wpmetaseo-meta.php in WPSSO Core – Complete Schema Markup and Meta Tags 22.7.0, at lib/integ/data/wpmetaseo-meta.php

57 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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( 'WpssoIntegDataAbstractSeoMeta' ) ) {
19
20 require_once WPSSO_PLUGINDIR . 'lib/integ/data/abstract/seo-meta.php';
21 }
22
23 /*
24 * Import WP Meta SEO metadata.
25 */
26 if ( ! class_exists( 'WpssoIntegDataWpmetaseoMeta' ) ) {
27
28 class WpssoIntegDataWpmetaseoMeta extends WpssoIntegDataAbstractSeoMeta {
29
30 protected $plugin_avail_key = 'wpmetaseo';
31
32 protected $opt_meta_keys = array(
33 'post' => array(
34 'seo_title' => '_metaseo_metatitle',
35 'seo_desc' => '_metaseo_metadesc',
36 'og_title' => '_metaseo_metaopengraph-title',
37 'og_desc' => '_metaseo_metaopengraph-desc',
38 'og_img_url' => '_metaseo_metaopengraph-image',
39 'schema_title' => '_metaseo_metadtitle',
40 'schema_desc' => '_metaseo_metadesc',
41 'tc_title' => '_metaseo_metatwitter-title',
42 'tc_desc' => '_metaseo_metatwitter-desc',
43 'tc_sum_img_url' => '_metaseo_metatwitter-image',
44 'tc_lrg_img_url' => '_metaseo_metatwitter-image',
45 ),
46 'term' => array(
47 'seo_title' => 'wpms_category_metatitle',
48 'seo_desc' => 'wpms_category_metadesc',
49 'schema_title' => 'wpms_category_metatitle',
50 'schema_desc' => 'wpms_category_metadesc',
51 ),
52 'user' => array(
53 ),
54 );
55 }
56 }
57