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

Add Commodity Codes to Stripe

/** * Add a commodity code to all line items sent to Stripe. * * @param string|null $code The commodity code. * @param int $download_id The download ID. * @param array $cart_item The cart item. * @return string|null The commodity…Continue reading

Check Simplicate

/** * Plugin Name: Pixelsz – Simplicate abonnementen (v2.0) * Description: Zoekt organisatie op basis van website (custom veld “Website”) en toont abonnementen (Hosting/Beheer/Onderhoud en SEO) op tabblad Simplicate. * Author: Pixelsz * Version: 2.0.0 */ if (!defined(‘ABSPATH’)) exit; /**…Continue reading