• The following code works perfectly.

    add_action('future_to_publish', 'do_stuff', 10, 1);
    function do_stuff( $in ) {
     ----
      return ;
    }

    What i am trying to do is

    I have a <div> with id current-event in front page.
    When a future_to_publish event occurred i want to auto reload the current-event div with the latest published post in live event category, in an ajax way.

    Please help. Thanks

  • The topic ‘future_to_publish’ is closed to new replies.