Description
apply_filters( 'wcv_order_end_date', 'now' )
Parameters (1) (string)
Usage Examples
To run the filter, copy this sample
// hand edit this example $str = apply_filters( 'wcv_order_end_date', $param ) ); if ( ! empty( $str ) ) { // what has been modified... }
To make a callback function, copy this sample
// the filter wcv_order_end_date callback function my_filter_function( $param ) { // do your thing here :-) ... return $str; } add_filter( 'wcv_order_end_date', 'my_filter_function', 10, 1 );
To remove the filter, copy this sample
//remove the filter remove_filter( 'wcv_order_end_date', 'my_filter_function', 10, 1 );
Defined
This filter is defined in the following source file(s)
- wcvendors-pro/public/class-wcvendors-pro-order-controller.php line 119
$this->end_date = ( !empty( $_SESSION[ 'PV_Session' ][ '_wcv_order_end_date_input' ] ) ) ? $_SESSION[ 'PV_Session' ][ '_wcv_order_end_date_input' ] : strtotime( apply_filters( 'wcv_order_end_date', 'now' ) );