Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wordpres.../src/helpers/open-gra...
File: values-helper.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Yoast\WP\SEO\Helpers\Open_Graph;
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* A helper object for the filtering of values.
[5] Fix | Delete
*/
[6] Fix | Delete
class Values_Helper {
[7] Fix | Delete
[8] Fix | Delete
/**
[9] Fix | Delete
* Filters the Open Graph title.
[10] Fix | Delete
*
[11] Fix | Delete
* @param string $title The default title.
[12] Fix | Delete
* @param string $object_type The object type.
[13] Fix | Delete
* @param string $object_subtype The object subtype.
[14] Fix | Delete
*
[15] Fix | Delete
* @return string The open graph title.
[16] Fix | Delete
*/
[17] Fix | Delete
public function get_open_graph_title( $title, $object_type, $object_subtype ) {
[18] Fix | Delete
/**
[19] Fix | Delete
* Allow changing the Open Graph title.
[20] Fix | Delete
*
[21] Fix | Delete
* @param string $title The default title.
[22] Fix | Delete
* @param string $object_subtype The object subtype.
[23] Fix | Delete
*/
[24] Fix | Delete
return \apply_filters( 'Yoast\WP\SEO\open_graph_title_' . $object_type, $title, $object_subtype );
[25] Fix | Delete
}
[26] Fix | Delete
[27] Fix | Delete
/**
[28] Fix | Delete
* Filters the Open Graph description.
[29] Fix | Delete
*
[30] Fix | Delete
* @param string $description The default description.
[31] Fix | Delete
* @param string $object_type The object type.
[32] Fix | Delete
* @param string $object_subtype The object subtype.
[33] Fix | Delete
*
[34] Fix | Delete
* @return string The open graph description.
[35] Fix | Delete
*/
[36] Fix | Delete
public function get_open_graph_description( $description, $object_type, $object_subtype ) {
[37] Fix | Delete
/**
[38] Fix | Delete
* Allow changing the Open Graph description.
[39] Fix | Delete
*
[40] Fix | Delete
* @param string $description The default description.
[41] Fix | Delete
* @param string $object_subtype The object subtype.
[42] Fix | Delete
*/
[43] Fix | Delete
return \apply_filters( 'Yoast\WP\SEO\open_graph_description_' . $object_type, $description, $object_subtype );
[44] Fix | Delete
}
[45] Fix | Delete
[46] Fix | Delete
/**
[47] Fix | Delete
* Filters the Open Graph image ID.
[48] Fix | Delete
*
[49] Fix | Delete
* @param int $image_id The default image ID.
[50] Fix | Delete
* @param string $object_type The object type.
[51] Fix | Delete
* @param string $object_subtype The object subtype.
[52] Fix | Delete
*
[53] Fix | Delete
* @return string The open graph image ID.
[54] Fix | Delete
*/
[55] Fix | Delete
public function get_open_graph_image_id( $image_id, $object_type, $object_subtype ) {
[56] Fix | Delete
/**
[57] Fix | Delete
* Allow changing the Open Graph image ID.
[58] Fix | Delete
*
[59] Fix | Delete
* @param int $image_id The default image ID.
[60] Fix | Delete
* @param string $object_subtype The object subtype.
[61] Fix | Delete
*/
[62] Fix | Delete
return \apply_filters( 'Yoast\WP\SEO\open_graph_image_id_' . $object_type, $image_id, $object_subtype );
[63] Fix | Delete
}
[64] Fix | Delete
[65] Fix | Delete
/**
[66] Fix | Delete
* Filters the Open Graph image URL.
[67] Fix | Delete
*
[68] Fix | Delete
* @param string $image The default image URL.
[69] Fix | Delete
* @param string $object_type The object type.
[70] Fix | Delete
* @param string $object_subtype The object subtype.
[71] Fix | Delete
*
[72] Fix | Delete
* @return string The open graph image URL.
[73] Fix | Delete
*/
[74] Fix | Delete
public function get_open_graph_image( $image, $object_type, $object_subtype ) {
[75] Fix | Delete
/**
[76] Fix | Delete
* Allow changing the Open Graph image URL.
[77] Fix | Delete
*
[78] Fix | Delete
* @param string $image The default image URL.
[79] Fix | Delete
* @param string $object_subtype The object subtype.
[80] Fix | Delete
*/
[81] Fix | Delete
return \apply_filters( 'Yoast\WP\SEO\open_graph_image_' . $object_type, $image, $object_subtype );
[82] Fix | Delete
}
[83] Fix | Delete
}
[84] Fix | Delete
[85] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function