Still not working on Wp 4.7
-
Hi!
When I ad this code in wp-includes/plugin.php on FEEDZY RSS Feeds 3.0.1 / Wp 4.7
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 );then Fatal error: Class ‘WP_Hook’ not found in /storage/content/93/156193/sto-regionen.se/public_html/wp-includes/plugin.php on line 118
I use this code on top of wp-includes/plugin.php on FEEDZY RSS Feeds 2.8.1 / Wp 4.6 without any problem.
Is there any changes in the documentation how to ad filter?
- The topic ‘Still not working on Wp 4.7’ is closed to new replies.