'; do_action( 'kconv_pro_admin_delivery_settings', $form ); echo ''; }, 36 ); }, 15 ); register_deactivation_hook( __FILE__, array( 'KCONV_Delivery', 'deactivate' ) ); } else { add_action( 'plugins_loaded', function() { remove_all_actions( 'kconv_delivery_tick' ); remove_all_actions( 'kconv_delivery_wake' ); add_filter( 'kconv_send_notification_inline', '__return_false', 999 ); add_filter( 'kconv_form_available', '__return_false', 999 ); add_filter( 'kconv_validate_form_save', function( $errors ) { $errors->add( 'matched_update', __( 'Finish updating KillerConversions Pro to 0.11.10 or later. Forms, deliveries and editing pause until both versions are compatible. Your data is preserved.', 'killerconversions' ) ); return $errors; }, 999 ); add_filter( 'rest_pre_dispatch', function( $result, $server, $request ) { return 0 === strpos( $request->get_route(), '/killerconversions/v1/' ) ? new WP_Error( 'matched_update', __( 'Finish updating KillerConversions Pro to 0.11.10 or later before using forms or saved drafts.', 'killerconversions' ), array( 'status' => 503 ) ) : $result; }, 999, 3 ); add_action( 'admin_notices', function() { if ( KCONV_Admin_Scope::notice() && current_user_can( 'activate_plugins' ) ) { echo '
' . esc_html__( 'Update KillerConversions Pro to 0.11.10 or later to complete the matched update. Forms and outbound work are safely paused; existing data is preserved.', 'killerconversions' ) . '