Viewing 2 replies - 1 through 2 (of 2 total)
  • Dear Guillaume84

    You can use filter wpcf_pr_belongs_post_status to add or remove default statuses (published, draft).

    To add “future” post status, use this code:

    add_filter('wpcf_pr_belongs_post_status', 'my_wpcf_pr_belongs_post_status');
    function my_wpcf_pr_belongs_post_status($statuses)
    {
         $statuses[] = 'future';
         return $statuses;
    }

    Cheers,
    Marcin

    Thread Starter Guillaume84

    (@guillaume84)

    That’s perfect, i really thank you for your answer.
    Cheers,
    Guillaume

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parent / Child relationship with a schedule custom post’ is closed to new replies.