Edit File by line
/home/barbar84/www/wp-conte.../plugins/wordpres.../src/presenta...
File: indexable-presentation.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Presentations;
[2] Fix | Delete
[3] Fix | Delete
use Yoast\WP\SEO\Context\Meta_Tags_Context;
[4] Fix | Delete
use Yoast\WP\SEO\Generators\Breadcrumbs_Generator;
[5] Fix | Delete
use Yoast\WP\SEO\Generators\Open_Graph_Image_Generator;
[6] Fix | Delete
use Yoast\WP\SEO\Generators\Open_Graph_Locale_Generator;
[7] Fix | Delete
use Yoast\WP\SEO\Generators\Schema_Generator;
[8] Fix | Delete
use Yoast\WP\SEO\Generators\Twitter_Image_Generator;
[9] Fix | Delete
use Yoast\WP\SEO\Helpers\Current_Page_Helper;
[10] Fix | Delete
use Yoast\WP\SEO\Helpers\Image_Helper;
[11] Fix | Delete
use Yoast\WP\SEO\Helpers\Indexable_Helper;
[12] Fix | Delete
use Yoast\WP\SEO\Helpers\Open_Graph\Values_Helper;
[13] Fix | Delete
use Yoast\WP\SEO\Helpers\Options_Helper;
[14] Fix | Delete
use Yoast\WP\SEO\Helpers\Permalink_Helper;
[15] Fix | Delete
use Yoast\WP\SEO\Helpers\Url_Helper;
[16] Fix | Delete
use Yoast\WP\SEO\Helpers\User_Helper;
[17] Fix | Delete
use Yoast\WP\SEO\Models\Indexable;
[18] Fix | Delete
[19] Fix | Delete
/**
[20] Fix | Delete
* Class Indexable_Presentation.
[21] Fix | Delete
*
[22] Fix | Delete
* Presentation object for indexables.
[23] Fix | Delete
*
[24] Fix | Delete
* @property string $title
[25] Fix | Delete
* @property string $meta_description
[26] Fix | Delete
* @property array $robots
[27] Fix | Delete
* @property string $canonical
[28] Fix | Delete
* @property string $rel_next
[29] Fix | Delete
* @property string $rel_prev
[30] Fix | Delete
* @property string $open_graph_type
[31] Fix | Delete
* @property string $open_graph_title
[32] Fix | Delete
* @property string $open_graph_description
[33] Fix | Delete
* @property array $open_graph_images
[34] Fix | Delete
* @property string $open_graph_url
[35] Fix | Delete
* @property string $open_graph_site_name
[36] Fix | Delete
* @property string $open_graph_article_publisher
[37] Fix | Delete
* @property string $open_graph_article_author
[38] Fix | Delete
* @property string $open_graph_article_published_time
[39] Fix | Delete
* @property string $open_graph_article_modified_time
[40] Fix | Delete
* @property string $open_graph_locale
[41] Fix | Delete
* @property string $open_graph_fb_app_id
[42] Fix | Delete
* @property array $schema
[43] Fix | Delete
* @property string $twitter_card
[44] Fix | Delete
* @property string $twitter_title
[45] Fix | Delete
* @property string $twitter_description
[46] Fix | Delete
* @property string $twitter_image
[47] Fix | Delete
* @property string $twitter_creator
[48] Fix | Delete
* @property string $twitter_site
[49] Fix | Delete
* @property array $source
[50] Fix | Delete
* @property array $breadcrumbs
[51] Fix | Delete
* @property int $estimated_reading_time_minutes
[52] Fix | Delete
*/
[53] Fix | Delete
class Indexable_Presentation extends Abstract_Presentation {
[54] Fix | Delete
[55] Fix | Delete
/**
[56] Fix | Delete
* The indexable.
[57] Fix | Delete
*
[58] Fix | Delete
* @var Indexable
[59] Fix | Delete
*/
[60] Fix | Delete
public $model;
[61] Fix | Delete
[62] Fix | Delete
/**
[63] Fix | Delete
* The meta tags context.
[64] Fix | Delete
*
[65] Fix | Delete
* @var Meta_Tags_Context
[66] Fix | Delete
*/
[67] Fix | Delete
public $context;
[68] Fix | Delete
[69] Fix | Delete
/**
[70] Fix | Delete
* The Schema generator.
[71] Fix | Delete
*
[72] Fix | Delete
* @var Schema_Generator
[73] Fix | Delete
*/
[74] Fix | Delete
protected $schema_generator;
[75] Fix | Delete
[76] Fix | Delete
/**
[77] Fix | Delete
* The Open Graph image generator.
[78] Fix | Delete
*
[79] Fix | Delete
* @var Open_Graph_Image_Generator
[80] Fix | Delete
*/
[81] Fix | Delete
protected $open_graph_image_generator;
[82] Fix | Delete
[83] Fix | Delete
/**
[84] Fix | Delete
* The Twitter image generator.
[85] Fix | Delete
*
[86] Fix | Delete
* @var Twitter_Image_Generator
[87] Fix | Delete
*/
[88] Fix | Delete
protected $twitter_image_generator;
[89] Fix | Delete
[90] Fix | Delete
/**
[91] Fix | Delete
* The Open Graph locale generator.
[92] Fix | Delete
*
[93] Fix | Delete
* @var Open_Graph_Locale_Generator
[94] Fix | Delete
*/
[95] Fix | Delete
private $open_graph_locale_generator;
[96] Fix | Delete
[97] Fix | Delete
/**
[98] Fix | Delete
* The breadcrumbs generator.
[99] Fix | Delete
*
[100] Fix | Delete
* @var Breadcrumbs_Generator
[101] Fix | Delete
*/
[102] Fix | Delete
private $breadcrumbs_generator;
[103] Fix | Delete
[104] Fix | Delete
/**
[105] Fix | Delete
* The current page helper.
[106] Fix | Delete
*
[107] Fix | Delete
* @var Current_Page_Helper
[108] Fix | Delete
*/
[109] Fix | Delete
protected $current_page;
[110] Fix | Delete
[111] Fix | Delete
/**
[112] Fix | Delete
* The image helper.
[113] Fix | Delete
*
[114] Fix | Delete
* @var Image_Helper
[115] Fix | Delete
*/
[116] Fix | Delete
protected $image;
[117] Fix | Delete
[118] Fix | Delete
/**
[119] Fix | Delete
* The options helper.
[120] Fix | Delete
*
[121] Fix | Delete
* @var Options_Helper
[122] Fix | Delete
*/
[123] Fix | Delete
protected $options;
[124] Fix | Delete
[125] Fix | Delete
/**
[126] Fix | Delete
* The URL helper.
[127] Fix | Delete
*
[128] Fix | Delete
* @var Url_Helper
[129] Fix | Delete
*/
[130] Fix | Delete
protected $url;
[131] Fix | Delete
[132] Fix | Delete
/**
[133] Fix | Delete
* The user helper.
[134] Fix | Delete
*
[135] Fix | Delete
* @var User_Helper
[136] Fix | Delete
*/
[137] Fix | Delete
protected $user;
[138] Fix | Delete
[139] Fix | Delete
/**
[140] Fix | Delete
* The indexable helper.
[141] Fix | Delete
*
[142] Fix | Delete
* @var Indexable_Helper
[143] Fix | Delete
*/
[144] Fix | Delete
protected $indexable_helper;
[145] Fix | Delete
[146] Fix | Delete
/**
[147] Fix | Delete
* The permalink helper.
[148] Fix | Delete
*
[149] Fix | Delete
* @var Permalink_Helper
[150] Fix | Delete
*/
[151] Fix | Delete
protected $permalink_helper;
[152] Fix | Delete
[153] Fix | Delete
/**
[154] Fix | Delete
* The values helper.
[155] Fix | Delete
*
[156] Fix | Delete
* @var Values_Helper
[157] Fix | Delete
*/
[158] Fix | Delete
protected $values_helper;
[159] Fix | Delete
[160] Fix | Delete
/**
[161] Fix | Delete
* Sets the generator dependencies.
[162] Fix | Delete
*
[163] Fix | Delete
* @required
[164] Fix | Delete
*
[165] Fix | Delete
* @param Schema_Generator $schema_generator The schema generator.
[166] Fix | Delete
* @param Open_Graph_Locale_Generator $open_graph_locale_generator The Open Graph locale generator.
[167] Fix | Delete
* @param Open_Graph_Image_Generator $open_graph_image_generator The Open Graph image generator.
[168] Fix | Delete
* @param Twitter_Image_Generator $twitter_image_generator The Twitter image generator.
[169] Fix | Delete
* @param Breadcrumbs_Generator $breadcrumbs_generator The breadcrumbs generator.
[170] Fix | Delete
*/
[171] Fix | Delete
public function set_generators(
[172] Fix | Delete
Schema_Generator $schema_generator,
[173] Fix | Delete
Open_Graph_Locale_Generator $open_graph_locale_generator,
[174] Fix | Delete
Open_Graph_Image_Generator $open_graph_image_generator,
[175] Fix | Delete
Twitter_Image_Generator $twitter_image_generator,
[176] Fix | Delete
Breadcrumbs_Generator $breadcrumbs_generator
[177] Fix | Delete
) {
[178] Fix | Delete
$this->schema_generator = $schema_generator;
[179] Fix | Delete
$this->open_graph_locale_generator = $open_graph_locale_generator;
[180] Fix | Delete
$this->open_graph_image_generator = $open_graph_image_generator;
[181] Fix | Delete
$this->twitter_image_generator = $twitter_image_generator;
[182] Fix | Delete
$this->breadcrumbs_generator = $breadcrumbs_generator;
[183] Fix | Delete
}
[184] Fix | Delete
[185] Fix | Delete
/**
[186] Fix | Delete
* Used by dependency injection container to inject the helpers.
[187] Fix | Delete
*
[188] Fix | Delete
* @required
[189] Fix | Delete
*
[190] Fix | Delete
* @param Image_Helper $image The image helper.
[191] Fix | Delete
* @param Options_Helper $options The options helper.
[192] Fix | Delete
* @param Current_Page_Helper $current_page The current page helper.
[193] Fix | Delete
* @param Url_Helper $url The URL helper.
[194] Fix | Delete
* @param User_Helper $user The user helper.
[195] Fix | Delete
* @param Indexable_Helper $indexable The indexable helper.
[196] Fix | Delete
* @param Permalink_Helper $permalink The permalink helper.
[197] Fix | Delete
* @param Values_Helper $values The values helper.
[198] Fix | Delete
*/
[199] Fix | Delete
public function set_helpers(
[200] Fix | Delete
Image_Helper $image,
[201] Fix | Delete
Options_Helper $options,
[202] Fix | Delete
Current_Page_Helper $current_page,
[203] Fix | Delete
Url_Helper $url,
[204] Fix | Delete
User_Helper $user,
[205] Fix | Delete
Indexable_Helper $indexable,
[206] Fix | Delete
Permalink_Helper $permalink,
[207] Fix | Delete
Values_Helper $values
[208] Fix | Delete
) {
[209] Fix | Delete
$this->image = $image;
[210] Fix | Delete
$this->options = $options;
[211] Fix | Delete
$this->current_page = $current_page;
[212] Fix | Delete
$this->url = $url;
[213] Fix | Delete
$this->user = $user;
[214] Fix | Delete
$this->indexable_helper = $indexable;
[215] Fix | Delete
$this->permalink_helper = $permalink;
[216] Fix | Delete
$this->values_helper = $values;
[217] Fix | Delete
}
[218] Fix | Delete
[219] Fix | Delete
/**
[220] Fix | Delete
* Gets the permalink from the indexable or generates it if dynamic permalinks are enabled.
[221] Fix | Delete
*
[222] Fix | Delete
* @return string The permalink.
[223] Fix | Delete
*/
[224] Fix | Delete
public function get_permalink() {
[225] Fix | Delete
if ( $this->indexable_helper->dynamic_permalinks_enabled() ) {
[226] Fix | Delete
return $this->permalink_helper->get_permalink_for_indexable( $this->model );
[227] Fix | Delete
}
[228] Fix | Delete
[229] Fix | Delete
return $this->model->permalink;
[230] Fix | Delete
}
[231] Fix | Delete
[232] Fix | Delete
/**
[233] Fix | Delete
* Generates the title.
[234] Fix | Delete
*
[235] Fix | Delete
* @return string The title.
[236] Fix | Delete
*/
[237] Fix | Delete
public function generate_title() {
[238] Fix | Delete
if ( $this->model->title ) {
[239] Fix | Delete
return $this->model->title;
[240] Fix | Delete
}
[241] Fix | Delete
[242] Fix | Delete
return '';
[243] Fix | Delete
}
[244] Fix | Delete
[245] Fix | Delete
/**
[246] Fix | Delete
* Generates the meta description.
[247] Fix | Delete
*
[248] Fix | Delete
* @return string The meta description.
[249] Fix | Delete
*/
[250] Fix | Delete
public function generate_meta_description() {
[251] Fix | Delete
if ( $this->model->description ) {
[252] Fix | Delete
return $this->model->description;
[253] Fix | Delete
}
[254] Fix | Delete
[255] Fix | Delete
return '';
[256] Fix | Delete
}
[257] Fix | Delete
[258] Fix | Delete
/**
[259] Fix | Delete
* Generates the robots value.
[260] Fix | Delete
*
[261] Fix | Delete
* @return array The robots value.
[262] Fix | Delete
*/
[263] Fix | Delete
public function generate_robots() {
[264] Fix | Delete
$robots = $this->get_base_robots();
[265] Fix | Delete
[266] Fix | Delete
return $this->filter_robots( $robots );
[267] Fix | Delete
}
[268] Fix | Delete
[269] Fix | Delete
/**
[270] Fix | Delete
* Gets the base robots value.
[271] Fix | Delete
*
[272] Fix | Delete
* @return array The base robots value.
[273] Fix | Delete
*/
[274] Fix | Delete
protected function get_base_robots() {
[275] Fix | Delete
return [
[276] Fix | Delete
'index' => ( $this->model->is_robots_noindex === true ) ? 'noindex' : 'index',
[277] Fix | Delete
'follow' => ( $this->model->is_robots_nofollow === true ) ? 'nofollow' : 'follow',
[278] Fix | Delete
'max-snippet' => 'max-snippet:-1',
[279] Fix | Delete
'max-image-preview' => 'max-image-preview:large',
[280] Fix | Delete
'max-video-preview' => 'max-video-preview:-1',
[281] Fix | Delete
];
[282] Fix | Delete
}
[283] Fix | Delete
[284] Fix | Delete
/**
[285] Fix | Delete
* Run the robots output content through the `wpseo_robots` filter.
[286] Fix | Delete
*
[287] Fix | Delete
* @param array $robots The meta robots values to filter.
[288] Fix | Delete
*
[289] Fix | Delete
* @return array The filtered meta robots values.
[290] Fix | Delete
*/
[291] Fix | Delete
protected function filter_robots( $robots ) {
[292] Fix | Delete
// Remove values that are only listened to when indexing.
[293] Fix | Delete
if ( $robots['index'] === 'noindex' ) {
[294] Fix | Delete
$robots['imageindex'] = null;
[295] Fix | Delete
$robots['archive'] = null;
[296] Fix | Delete
$robots['snippet'] = null;
[297] Fix | Delete
$robots['max-snippet'] = null;
[298] Fix | Delete
$robots['max-image-preview'] = null;
[299] Fix | Delete
$robots['max-video-preview'] = null;
[300] Fix | Delete
}
[301] Fix | Delete
[302] Fix | Delete
$robots_string = \implode( ', ', \array_filter( $robots ) );
[303] Fix | Delete
[304] Fix | Delete
/**
[305] Fix | Delete
* Filter: 'wpseo_robots' - Allows filtering of the meta robots output of Yoast SEO.
[306] Fix | Delete
*
[307] Fix | Delete
* @api string $robots The meta robots directives to be echoed.
[308] Fix | Delete
*
[309] Fix | Delete
* @param Indexable_Presentation $presentation The presentation of an indexable.
[310] Fix | Delete
*/
[311] Fix | Delete
$robots_filtered = \apply_filters( 'wpseo_robots', $robots_string, $this );
[312] Fix | Delete
[313] Fix | Delete
// Convert the robots string back to an array.
[314] Fix | Delete
if ( \is_string( $robots_filtered ) ) {
[315] Fix | Delete
$robots_values = \explode( ', ', $robots_filtered );
[316] Fix | Delete
$robots_new = [];
[317] Fix | Delete
[318] Fix | Delete
foreach ( $robots_values as $value ) {
[319] Fix | Delete
$key = $value;
[320] Fix | Delete
[321] Fix | Delete
// Change `noindex` to `index.
[322] Fix | Delete
if ( \strpos( $key, 'no' ) === 0 ) {
[323] Fix | Delete
$key = \substr( $value, 2 );
[324] Fix | Delete
}
[325] Fix | Delete
// Change `max-snippet:-1` to `max-snippet`.
[326] Fix | Delete
$colon_position = \strpos( $key, ':' );
[327] Fix | Delete
if ( $colon_position !== false ) {
[328] Fix | Delete
$key = \substr( $value, 0, $colon_position );
[329] Fix | Delete
}
[330] Fix | Delete
[331] Fix | Delete
$robots_new[ $key ] = $value;
[332] Fix | Delete
}
[333] Fix | Delete
[334] Fix | Delete
$robots = $robots_new;
[335] Fix | Delete
}
[336] Fix | Delete
[337] Fix | Delete
if ( ! $robots_filtered ) {
[338] Fix | Delete
return [];
[339] Fix | Delete
}
[340] Fix | Delete
[341] Fix | Delete
/**
[342] Fix | Delete
* Filter: 'wpseo_robots_array' - Allows filtering of the meta robots output array of Yoast SEO.
[343] Fix | Delete
*
[344] Fix | Delete
* @api array $robots The meta robots directives to be used.
[345] Fix | Delete
*
[346] Fix | Delete
* @param Indexable_Presentation $presentation The presentation of an indexable.
[347] Fix | Delete
*/
[348] Fix | Delete
return \apply_filters( 'wpseo_robots_array', \array_filter( $robots ), $this );
[349] Fix | Delete
}
[350] Fix | Delete
[351] Fix | Delete
/**
[352] Fix | Delete
* Generates the robots value for the googlebot tag.
[353] Fix | Delete
*
[354] Fix | Delete
* @deprecated 14.9 Values merged into the robots meta tag.
[355] Fix | Delete
* @codeCoverageIgnore
[356] Fix | Delete
*
[357] Fix | Delete
* @return array The robots value with opt-in snippets.
[358] Fix | Delete
*/
[359] Fix | Delete
public function generate_googlebot() {
[360] Fix | Delete
\_deprecated_function( __METHOD__, 'WPSEO 14.9' );
[361] Fix | Delete
[362] Fix | Delete
return [];
[363] Fix | Delete
}
[364] Fix | Delete
[365] Fix | Delete
/**
[366] Fix | Delete
* Generates the value for the bingbot tag.
[367] Fix | Delete
*
[368] Fix | Delete
* @deprecated 14.9 Values merged into the robots meta tag.
[369] Fix | Delete
* @codeCoverageIgnore
[370] Fix | Delete
*
[371] Fix | Delete
* @return array The robots value with opt-in snippets.
[372] Fix | Delete
*/
[373] Fix | Delete
public function generate_bingbot() {
[374] Fix | Delete
\_deprecated_function( __METHOD__, 'WPSEO 14.9' );
[375] Fix | Delete
[376] Fix | Delete
return [];
[377] Fix | Delete
}
[378] Fix | Delete
[379] Fix | Delete
/**
[380] Fix | Delete
* Generates the canonical.
[381] Fix | Delete
*
[382] Fix | Delete
* @return string The canonical.
[383] Fix | Delete
*/
[384] Fix | Delete
public function generate_canonical() {
[385] Fix | Delete
if ( $this->model->canonical ) {
[386] Fix | Delete
return $this->model->canonical;
[387] Fix | Delete
}
[388] Fix | Delete
[389] Fix | Delete
$permalink = $this->get_permalink();
[390] Fix | Delete
if ( $permalink ) {
[391] Fix | Delete
return $permalink;
[392] Fix | Delete
}
[393] Fix | Delete
[394] Fix | Delete
return '';
[395] Fix | Delete
}
[396] Fix | Delete
[397] Fix | Delete
/**
[398] Fix | Delete
* Generates the rel prev.
[399] Fix | Delete
*
[400] Fix | Delete
* @return string The rel prev value.
[401] Fix | Delete
*/
[402] Fix | Delete
public function generate_rel_prev() {
[403] Fix | Delete
return '';
[404] Fix | Delete
}
[405] Fix | Delete
[406] Fix | Delete
/**
[407] Fix | Delete
* Generates the rel next.
[408] Fix | Delete
*
[409] Fix | Delete
* @return string The rel prev next.
[410] Fix | Delete
*/
[411] Fix | Delete
public function generate_rel_next() {
[412] Fix | Delete
return '';
[413] Fix | Delete
}
[414] Fix | Delete
[415] Fix | Delete
/**
[416] Fix | Delete
* Generates the Open Graph type.
[417] Fix | Delete
*
[418] Fix | Delete
* @return string The Open Graph type.
[419] Fix | Delete
*/
[420] Fix | Delete
public function generate_open_graph_type() {
[421] Fix | Delete
return 'website';
[422] Fix | Delete
}
[423] Fix | Delete
[424] Fix | Delete
/**
[425] Fix | Delete
* Generates the open graph title.
[426] Fix | Delete
*
[427] Fix | Delete
* @return string The open graph title.
[428] Fix | Delete
*/
[429] Fix | Delete
public function generate_open_graph_title() {
[430] Fix | Delete
if ( $this->model->open_graph_title ) {
[431] Fix | Delete
$open_graph_title = $this->model->open_graph_title;
[432] Fix | Delete
}
[433] Fix | Delete
[434] Fix | Delete
if ( empty( $open_graph_title ) ) {
[435] Fix | Delete
// The helper applies a filter, but we don't have a default value at this stage so we pass an empty string.
[436] Fix | Delete
$open_graph_title = $this->values_helper->get_open_graph_title( '', $this->model->object_type, $this->model->object_sub_type );
[437] Fix | Delete
}
[438] Fix | Delete
[439] Fix | Delete
if ( empty( $open_graph_title ) ) {
[440] Fix | Delete
$open_graph_title = $this->title;
[441] Fix | Delete
}
[442] Fix | Delete
[443] Fix | Delete
return $open_graph_title;
[444] Fix | Delete
}
[445] Fix | Delete
[446] Fix | Delete
/**
[447] Fix | Delete
* Generates the open graph description.
[448] Fix | Delete
*
[449] Fix | Delete
* @return string The open graph description.
[450] Fix | Delete
*/
[451] Fix | Delete
public function generate_open_graph_description() {
[452] Fix | Delete
if ( $this->model->open_graph_description ) {
[453] Fix | Delete
$open_graph_description = $this->model->open_graph_description;
[454] Fix | Delete
}
[455] Fix | Delete
[456] Fix | Delete
if ( empty( $open_graph_description ) ) {
[457] Fix | Delete
// The helper applies a filter, but we don't have a default value at this stage so we pass an empty string.
[458] Fix | Delete
$open_graph_description = $this->values_helper->get_open_graph_description( '', $this->model->object_type, $this->model->object_sub_type );
[459] Fix | Delete
}
[460] Fix | Delete
[461] Fix | Delete
if ( empty( $open_graph_description ) ) {
[462] Fix | Delete
$open_graph_description = $this->meta_description;
[463] Fix | Delete
}
[464] Fix | Delete
[465] Fix | Delete
return $open_graph_description;
[466] Fix | Delete
}
[467] Fix | Delete
[468] Fix | Delete
/**
[469] Fix | Delete
* Generates the open graph images.
[470] Fix | Delete
*
[471] Fix | Delete
* @return array The open graph images.
[472] Fix | Delete
*/
[473] Fix | Delete
public function generate_open_graph_images() {
[474] Fix | Delete
if ( $this->context->open_graph_enabled === false ) {
[475] Fix | Delete
return [];
[476] Fix | Delete
}
[477] Fix | Delete
[478] Fix | Delete
return $this->open_graph_image_generator->generate( $this->context );
[479] Fix | Delete
}
[480] Fix | Delete
[481] Fix | Delete
/**
[482] Fix | Delete
* Generates the open graph image ID.
[483] Fix | Delete
*
[484] Fix | Delete
* @return string The open graph image ID.
[485] Fix | Delete
*/
[486] Fix | Delete
public function generate_open_graph_image_id() {
[487] Fix | Delete
if ( $this->model->open_graph_image_id ) {
[488] Fix | Delete
return $this->model->open_graph_image_id;
[489] Fix | Delete
}
[490] Fix | Delete
[491] Fix | Delete
return $this->values_helper->get_open_graph_image_id( 0, $this->model->object_type, $this->model->object_sub_type );
[492] Fix | Delete
}
[493] Fix | Delete
[494] Fix | Delete
/**
[495] Fix | Delete
* Generates the open graph image URL.
[496] Fix | Delete
*
[497] Fix | Delete
* @return string The open graph image URL.
[498] Fix | Delete
*/
[499] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function