Hello Beer,
I hope, you could help me one more time:
In the feed (https://www.facebook.com/feeds/page.php?id=136113746547580&format=rss20), the german “ü” (für) is wrong. How can I fix it? I played with your code
function fwp_facebook_text( $data )
{
$data['post_content'] = preg_replace_callback(
'|für|',
function ( $matches ) {
return str_replace( 'für', 'ü', $matches[0] );
},
$data['post_content']
);
return $data;
}
add_filter( 'syndicated_post', 'fwp_facebook_text', 10, 2 );
… but it doens′t work.
Regards,
Jan