• I have a PHP script using wp_insert_post and add_post_meta to upload new posts to wordpress from a mysql database.

    I am using wp to twitter to send the new posts to twitter.

    The problem is that information sent initially using wp_insert_post posts to twitter correctly but none of the add_post_meta details are being sent.

    It looks like the tweet is generated on insert_post and then custom fields are added after.

    Does anybody know how I can delay the sending of the tweet until the custom fields have been sent?

  • The topic ‘wp to twitter custom fields not posting’ is closed to new replies.