Past Publish Date

Description

This filter allows you to publish post with past date.

Usage

add_filter( 'owf_publish_past',  'post_publish_past_date' , 10, 1 );

Parameters

  • $post_id – ID of the post.

Example

add_filter( 'owf_publish_past',  'post_publish_past_date' , 10, 1 );

public function post_publish_past_date( $post_id ) {
    return true;
}

Source Code

The filter is located in class-ow-process-flow.php

Didn't find what you are looking for? Submit a Query

Custom Fields CompareSkip Workflow Filter