Problems with apply_filters(‘the_content’
-
On the post created in Elementor id:123, I want to display in the header template another post by id: 225.
Code in template:$out = apply_filters ('the_content', get_post_field ('post_content', 225));
Result $out contains post id: 123 not the post id: 225
How to display the post id: 225 using apply_filters (‘the_content’?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Problems with apply_filters(‘the_content’’ is closed to new replies.