PluginProbe
Booking Calendar / 11.8.4
Booking Calendar v11.8.4
11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 10.11 All 204 releases
← All changes | includes/page-form-builder/bfb-ui-elements.php +2 -3 10.15.611.8.4 View file →
@@ -218,11 +218,10 @@
218 218 // == Pro Advanced == - Import booking forms for == Super Booking Admin == user ( user_id = 0 ).
219 219 if ( class_exists( 'wpdev_bk_personal' ) ) {
220 220
221 221 $custom_forms_count = 0;
222 - if ( class_exists( 'wpdev_bk_biz_m' ) && ( ! empty( maybe_unserialize( get_bk_option( 'booking_forms_extended' ) ) ) ) ) {
223 - $custom_forms_count = maybe_unserialize( get_bk_option( 'booking_forms_extended' ) );
224 - $custom_forms_count = count( $custom_forms_count );
222 + if ( function_exists( 'wpbc_bfb_get_legacy_custom_forms_for_owner' ) ) {
223 + $custom_forms_count = count( wpbc_bfb_get_legacy_custom_forms_for_owner( 0 ) );
225 224 }
226 225 ++$custom_forms_count;
227 226
228 227 $items[] = array(