How to make APT work with "User submitted posts"?
-
Dear Devtard,
I just started looking into WordPress, so please excuse my noobie questions!
I want to use APT to automatically tag posts coming from the plugin “User submitted posts”. But I noticed that user-submitted posts are not automatically tagged when I automatically publish them. It only works when I moderate and publish them manually.
In other threads I saw that it depends on the posting method if APT is triggered, and that APT should be able to handle the “wp_insert_post” method, right? Now this is exactly the method I found in “User submitted posts”, as seen in this snippet:
// submit post $postData = usp_prepare_post($title, $content, $author_id, $author, $ip); do_action('usp_insert_before', $postData); $newPost['id'] = wp_insert_post($postData); do_action('usp_insert_after', $newPost);
Any ideas what could be wrong?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to make APT work with "User submitted posts"?’ is closed to new replies.