hey guys, maybe some of you have experience with programming wordpress plugins. I have a probably rather simpel question, but i couldn\'t find anything on the web.
My guess is Use global keyword to access post id in function
global
And also my guess is return and echo both would not work together in function
function test($content) { global $post; return $post->ID.''.$content; }