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.../public_h.../wp-conte.../plugins/themify-.../includes/plugin-c...
File: relatedposts.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Builder Plugin Compatibility Code
[2] Fix | Delete
*
[3] Fix | Delete
* @package Themify_Builder
[4] Fix | Delete
* @subpackage Themify_Builder/classes
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
class Themify_Builder_Plugin_Compat_RelatedPosts {
[8] Fix | Delete
[9] Fix | Delete
static function init() {
[10] Fix | Delete
add_action( 'template_redirect', array( __CLASS__, 'wp_related_posts' ) );
[11] Fix | Delete
}
[12] Fix | Delete
[13] Fix | Delete
/**
[14] Fix | Delete
* WordPress Related Posts plugin compatibility
[15] Fix | Delete
* @link https://wordpress.org/plugins/wordpress-23-related-posts-plugin/
[16] Fix | Delete
* Display related posts after the Builder content
[17] Fix | Delete
*/
[18] Fix | Delete
public static function wp_related_posts():void {
[19] Fix | Delete
remove_filter( 'the_content', 'wp_rp_add_related_posts_hook', 10 );
[20] Fix | Delete
add_filter( 'the_content', 'wp_rp_add_related_posts_hook', 12 );
[21] Fix | Delete
}
[22] Fix | Delete
}
[23] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function