PluginProbe
Booking Calendar / 11.8.3
Booking Calendar v11.8.3
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 -7 11.311.8.3 View file →
@@ -218,15 +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' ) ) {
223 - $booking_forms_extended = get_bk_option( 'booking_forms_extended' );
224 - $booking_forms_extended = ( ! empty( $booking_forms_extended ) ) ? maybe_unserialize( $booking_forms_extended ) : array();
225 -
226 - if ( is_array( $booking_forms_extended ) ) {
227 - $custom_forms_count = count( $booking_forms_extended );
228 - }
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 ) );
229 224 }
230 225 ++$custom_forms_count;
231 226
232 227 $items[] = array(