| 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 All in One SEO Pack metadata. |
| 25 |
*/ |
| 26 |
if ( ! class_exists( 'WpssoIntegDataAioseopMeta' ) ) { |
| 27 |
|
| 28 |
class WpssoIntegDataAioseopMeta extends WpssoIntegDataAbstractSeoMeta { |
| 29 |
|
| 30 |
protected $plugin_avail_key = 'aioseop'; |
| 31 |
|
| 32 |
protected $opt_meta_keys = array( |
| 33 |
'post' => array( |
| 34 |
'og_title' => '_aioseo_og_title', |
| 35 |
'og_desc' => '_aioseo_og_description', |
| 36 |
'seo_title' => '_aioseo_title', |
| 37 |
'seo_desc' => '_aioseo_description', |
| 38 |
'tc_title' => '_aioseo_twitter_title', |
| 39 |
'tc_desc' => '_aioseo_twitter_description', |
| 40 |
'schema_title' => '_aioseo_title', |
| 41 |
'schema_desc' => '_aioseo_description', |
| 42 |
'schema_article_section' => '_aioseo_og_article_section', |
| 43 |
), |
| 44 |
'term' => array(), |
| 45 |
'user' => array(), |
| 46 |
); |
| 47 |
} |
| 48 |
} |
| 49 |
|