Home / Admin / Allow “Mark received” for Digital Product
Duplicate Snippet

Embed Snippet on Your Site

Allow “Mark received” for Digital Product

if ( ! function_exists( 'wcv_allow_mark_received_for_digital_product' ) ) {

/**
* Allow vendors to mark received for digital products.
*
* @param Boolean $status Order received status.
* @return Boolean
*/
function wcv_allow_mark_received_for_digital_product( $status ) {

$status = true;
return $status;
}

add_filter( 'wcvendors_pro_mark_order_received_status', 'wcv_allow_mark_received_for_digital_product', 10, 1 );
}

Code Preview
php
<?php

Comments

Add a Comment