Manage the Offers linked to the booking engine by promo code
disable()
enable(string $connect_name)
string
the default connect name for these offers
get_booknow(object $post, \number $format) : string
object
the offer custom post
\number
the format
string
the onclick attributeget_offer_details(object $post) : array
Format: array ( 'cname' => 'ITAOSHTLExpress', 'lg' => '', 'codeprice' => 'PROMO-Terme-e-gastronomia', 'firstroom' => 'Double-Superior', 'codetrack' => '', 'firstdate' => '', )
object
the post object
array
a list of detailsget_offer_price() : string
string
register_custom_post()
register_custom_taxonomy()
offer_details_list() : array
array
$connect_name : string
$enabled : bool
CUSTOM_POST_NAME : string
CUSTOM_TAX_NAME : string
FORMAT_FBLIB : int
FORMAT_OOFBLIB : int
META_KEY_NAME : string