VG uuid generation for inkontaktsystem_vg_uuid table

/** * ============================================================================ * WORDPRESS SEQUENTIAL VG NUMBER GENERATION FUNCTION * ============================================================================ * @author Gerrit * @description Generates unique sequential numbers using the table’s * auto-increment ID and returns codes like “VG0001”. * @since 2025-11-14 * * FUNCTION NAME TO…Continue reading

uuid generation script for inkontaktsystem_object_uuid table

/** * ============================================================================ * WORDPRESS UUID GENERATION FUNCTION FOR INKONTAKTSYSTEM * ============================================================================ * @author Sumaiya * @description This function generates a unique UUID in format “xxx_xxx” and * creates a type-prefixed UUID “type_xxx_xxx”. It automatically * inserts the record into…Continue reading

upsert script for database table writing and updating using flowmattic

/** * ============================================================================ * FINAL WORDPRESS MULTI-PURPOSE “UPSERT” FUNCTION * ============================================================================ * @description This function provides a dynamic “upsert” (update or insert) * capability for any WordPress database table. It is designed to be * used as a custom function…Continue reading

BACS Subscription Editor

// Add admin menu page add_action(‘admin_menu’, function() { add_submenu_page( ‘woocommerce’, ‘BACS Subscription Editor’, ‘BACS Subscription Editor’, ‘manage_woocommerce’, ‘bacs-subscription-editor’, ‘render_bacs_subscription_editor_page’ ); }); // Render the page function render_bacs_subscription_editor_page() { ?> BACS Subscription Editor Enter a WooCommerce Subscription ID to view and…Continue reading

Copyright Footer TXT (PHP)

/** * Copyright Shortcode * * Outputs copyright text with current year, site name, and Westline Marketing link. * * Usage: [copyright] */ function copyright_shortcode($atts) { // Get current year $current_year = date(‘Y’); // Get site name (WordPress function) $site_name…Continue reading

HTTP naar HTTPS

/** * Plugin Name: HTTPS Doorverwijzing (Internet.nl Compliant) * Description: Forceert HTTPS doorverwijzing volgens NCSC richtlijnen voor Internet.nl test * Version: 1.0 * Author: Pixelsz */ if ( ! defined( ‘ABSPATH’ ) ) exit; /** * 1) Force HTTPS redirect…Continue reading