add_action(‘admin_notices’, function () { if (!current_user_can(‘manage_options’)) { return; } echo ‘ WPCode test is working. ‘; echo ‘ Application Passwords Global: ‘ . (wp_is_application_passwords_available() ? ‘YES’ : ‘NO’) . ‘ ‘; if (function_exists(‘wp_is_application_passwords_available_for_user’)) { $user = wp_get_current_user(); echo ‘ Application…Continue reading
/** * ============================================================ * GUARDEDPAY PRO — Phase 1 Removal (PERMANENT) * ============================================================ * * PURPOSE: Hides “I Already Have A Coverage Code” radio option * from GuardedPay widget on checkout. * Overrides red border on GuardedPay payment widget. *…Continue reading
/** * Bulk Image & PDF Optimizer + Bestandsgrootte sortering * Voeg toe aan functions.php of gebruik via Code Snippets plugin * * Menu-items onder Media: * Media → Bulk Optimizer (verwerking + status) * Media → Formaat instellingen (breedtes…Continue reading
PIPAS — Biennale de Photographie Genève PIPAS À propos Pratique 24 22 PIPAS Biennale de Photographie des écoles · Genève · Par et pour les élèves Prochaine édition — 27 mai au 14 juin 2026 · Ecoquartier Jonction · Plaine…Continue reading
/** * Restrict Checkout Referrals to a Specific User Role & Filter Affiliates by Role * * – Only displays the Checkout Referrals dropdown to logged-in users * with the ‘influencer_sales’ role. * – Filters the affiliate dropdown to only…Continue reading
/** * Second Affiliate Selection at WooCommerce Checkout (Checkout Block Compatible) * * Adds a second affiliate dropdown alongside the Checkout Referrals addon’s * first dropdown and creates a separate referral for the second affiliate. * * Requires: AffiliateWP +…Continue reading
add_action(‘init’, function () { if (!is_user_logged_in() || !current_user_can(‘manage_woocommerce’)) { return; } if (!isset($_GET[‘broken_variable_products’])) { return; } if (headers_sent()) { return; } $product_ids = get_posts([ ‘post_type’ => ‘product’, ‘posts_per_page’ => -1, ‘fields’ => ‘ids’, ‘tax_query’ => [ [ ‘taxonomy’ => ‘product_type’,…Continue reading