Hi all!
If I ad this code
function bweb_feedzy_cache_duration( $feedCacheDuration, $feedURL ) {
return 60*5; //5 minutes
}
add_filter(‘wp_feed_cache_transient_lifetime’, ‘bweb_feedzy_cache_duration’, 10, 2);
function bweb_feedzy_remove_hellip( $content, $feedURL ) {
$content = str_replace( ‘ […]’, ”, $content );
return $content;
}
add_filter( ‘feedzy_summary_output’, ‘bweb_feedzy_remove_hellip’, 9, 2 );
in wp-includes/plugin.php then
Fatal error: Class ‘WP_Hook’ not found in /public_html/wp-includes/plugin.php on line 118
If I NOT ad this code in wp-includes/plugin.php the plugin works in Wp 4.7.