PluginProbe
Booking Calendar / 11.9
Booking Calendar v11.9
11.9 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 All 205 releases
← All changes | core/wpbc-activation.php +20 -3 11.8.4 → 11.9 View file →
@@ -679,11 +679,8 @@
679 679
680 680 // If this option here, then system get this option from "Super Admin" options configuration for "Regular" users.
681 681 $mu_option4delete = array();
682 682
683 - // FixIn: 9.6.3.5.
684 - $default_options['booking_setup_wizard_page_steps_is_done'] = '';
685 - $mu_option4delete[]='booking_setup_wizard_page_steps_is_done';
686 683 $default_options['booking_setup_wizard_initial_install'] = 'Off';
687 684 $mu_option4delete[] = 'booking_setup_wizard_initial_install';
688 685 $default_options['booking_setup_wizard_first_run_prompt'] = 'Off';
689 686 $mu_option4delete[] = 'booking_setup_wizard_first_run_prompt';
@@ -688,8 +685,10 @@
688 685 $default_options['booking_setup_wizard_first_run_prompt'] = 'Off';
689 686 $mu_option4delete[] = 'booking_setup_wizard_first_run_prompt';
690 687 $default_options['booking_setup_wizard_booking_pages_prompt'] = 'Off';
691 688 $mu_option4delete[] = 'booking_setup_wizard_booking_pages_prompt';
689 + $default_options['booking_update_navigation_context'] = array();
690 + $mu_option4delete[] = 'booking_update_navigation_context';
692 691
693 692 $default_options['booking_admin_cal_count'] = ($is_demo) ? '3' : '2';
694 693 $mu_option4delete[]='booking_admin_cal_count'; // $multiuser_general_option[] = implode( '', array_keys( array_slice( $default_options, -1 ) ) );
695 694 $default_options['booking_skin'] = '/css/skins/25_5__square_1.css'; // FixIn: 10.11.4.2.
@@ -1389,8 +1388,26 @@
1389 1388 // FixIn: 9.2.3.8.
1390 1389 $default_options['booking_super_admin_receive_regular_user_payments'] = 'Off';
1391 1390 $mu_option4delete[]='booking_super_admin_receive_regular_user_payments';
1392 1391 }
1392 +
1393 + /**
1394 + * Filters the complete Booking Calendar default-option registry.
1395 + *
1396 + * Edition modules may register missing-value defaults without placing their
1397 + * domain-specific option names in the shared Free-version implementation.
1398 + * Existing stored values continue to be preserved by the activation layer.
1399 + *
1400 + * @param array $default_options Default option names and values.
1401 + */
1402 + $default_options = apply_filters( 'wpbc_default_options', $default_options );
1403 +
1404 + /**
1405 + * Filters option names handled by the applicable MultiUser cleanup flow.
1406 + *
1407 + * @param array $mu_option4delete Option names registered for cleanup.
1408 + */
1409 + $mu_option4delete = apply_filters( 'wpbc_multiuser_options_for_delete', $mu_option4delete );
1393 1410
1394 1411
1395 1412 if ( ! $is_get_multiuser_general_options ) {
1396 1413