I need to get the content of a page and not echo it. I.e. The the_content echoes the page content but using get_the_content() skips the applying of the filters so the plugins that are installed do not work. My question is how do I apply the filters to the get_the_content() function. I’ve tried:
apply_filters('the_content', get_the_content); $panels = explode("[newpage]", get_the_content());
but it’s not working…
- The topic ‘Apply filters to get_the_content()’ is closed to new replies.