Home Forums Newsletter Plugin Support Feed by mail $last_run always equals to -1 (at least in preview)

Viewing 1 post (of 1 total)
  • Author
  • #8116

    In my theme file, I’m checking the last_run and if it equals to -1 I display a selection of posts, else I select the post published since the last run, but in the preview when I display last_run it always equals to -1 (even if I already have some runs). Maybe I missed something.

    Here is the code

    global $newsletter; // Newsletter object
    global $post; // Current post managed by WordPress
    echo $last_run;

    Thanks for support.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.