|
|
|
|
|
|
|
'widget_wpbc_dismiss__booking_param_aggregate',
'dismiss_css_class' => '.wpbc_dismiss__booking_param_aggregate',
'blured_in_versions' => array( 'free' ),
'feature_link' => array( 'title' => 'feature', 'relative_url' => 'overview/#booking-resources' ),
'upgrade_link' => array( 'title' => 'Upgrade to Pro', 'relative_url' => 'features/#bk_news_section' ),
'versions' => 'paid versions',
'css' => 'transform: translate(0) translateY(180px);'
) );
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo $upgrade_content_arr['content'];
//--------------------------------------------------------------------------------------------------------------
// Real Content
//--------------------------------------------------------------------------------------------------------------
$resources_list = array();
if ( class_exists( 'wpdev_bk_personal' ) ){
$resources_list_orig = wpbc_get_all_booking_resources_list();
$resources_list[0] = array( 'title' => __('None', 'booking' ), 'attr' => array ( 'class' => 'wpbc_single_resource', 'style' => 'border-bottom:1px dashed #ddd;') );
foreach ($resources_list_orig as $res_id => $res_val) {
$resources_list[$res_id] = $res_val;
}
}
?>