Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Devtard

    (@devtard)

    Hello, the tagging function is always executed when a new post is added via WP API (APT uses the hook “publish_post”).

    Are you sure that your autoblog plugin doesn’t use some other way to add new posts?

    Thread Starter istvandk

    (@istvandk)

    That might very well be the issue. How can I find out which way my plugin uses to add new posts?

    Plugin Author Devtard

    (@devtard)

    Does the plugin use the function wp_insert_post in its files? https://codex.www.ads-software.com/Function_Reference/wp_insert_post

    If you contact the support they might tell you how exactly the posts are being added.

    Thread Starter istvandk

    (@istvandk)

    Their support is dead :/

    And yes, wp_insert_post is used.

    // Add the post
    if ($this->type <> ‘preview’) {
    $pid = wp_insert_post($post);

    Plugin Author Devtard

    (@devtard)

    Just to be sure, I’ve just tested wp_insert_post for adding new posts and my plugin processes them just fine (as I expected).

    To be honest, I’m not sure what the problem might be (and I’m out of ideas). There must be something else that prevents APT from tagging.

    Thread Starter istvandk

    (@istvandk)

    Alright. Thanks for your quick help anyway. It is probably just this plugin working in a special way.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Doesn't work with autoblog plugin’ is closed to new replies.