Using WordPress version 3.2.1
I've noticed that when I use this filter:
add_action('the_content', 'myFunction', 0);
The content editor places the content written from "myFunction" within the last paragraph tag of the content. How can I force the WP to append the code after the last tag?
For example, if my content is...
<p>This is a paragraph</p>
And the "myFunction" routine appends "And this is some extra text" to the_content, the end result in the browser becomes:
<p>This is a paragraphAnd this is some extra text</p>
Although I want it to be:
<p>This is a paragraph</p>And this is some extra text