autoship_recurring_price
( src > product-options.php ) Returns the value of the autoship_recurring_price field for the supplied product.
Example
function autoship_recurring_price( WC_Product $product ) { $autoship_price = autoship_get_product_recurring_price( $product->get_id() ); // Recurring may be 0 but if not set we use null. if ( !isset( $autoship_price ) ) { return autoship_discounted_price( $product ); } return $autoship_price; }