Function takes more precedence over $content
-
Hi,
Am working on $content to append some content from function. So I have added like this,
function one($content){ return $content.functionname(); } add_filter('the_content','one'); functionname(){echo 'hello';}Am getting output as
hello then only the content but actually it should be content then hello.So functions take more precedence over the $content. Could you please give some solution to display like content and then function operations.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Function takes more precedence over $content’ is closed to new replies.