_get_wcf_base_offer_id()
Returns upsell ID.
Return
(int/bool)
Source
File: classes/class-cartflows-functions.php
function _get_wcf_base_offer_id() { if ( _is_wcf_base_offer_type() ) { global $post; return $post->ID; } return false; }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |