How to apply ad inserter filter in custom plugin
-
Hi,
I am showing the $post->content in my plugin manually. I have tried doing this:$post = get_post(1234); setup_postdata($post); print_r(apply_filters( 'the_content', $post->post_content ));
$post->content still doesn’t have ad inserted into it. Perhaps I am missing something here? Please advice and thanks for the awesome plugin!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to apply ad inserter filter in custom plugin’ is closed to new replies.