I write function in functions.php like this
function out() {
$s = 'End of the post, thanks for reading';
return $s;
}
add_filter('the_content','out');
and I expect this to be fetched at the end of the post, after entry content. But all it does is that post entry ( what the_content outputs) is not shown, and I only get 'End of the post, thanks for reading'.
What am I doing wrong?