Change Name Order in Marketking Dashboard

/** * Plugin Name: MarketKing Vendor Dashboard Name Order Snippet * Description: Changes name display order in MarketKing vendor dashboard from “firstname lastname” to “lastname firstname” in all areas * Version: 1.0.0 * Author: Custom Snippet * * Instructions: *…Continue reading

to add WordPress WooCommerce WhatsApp checkout (copy)

// Exit if accessed directly if (!defined(‘ABSPATH’)) { exit; } // Check if WooCommerce is active if (!in_array(‘woocommerce/woocommerce.php’, apply_filters(‘active_plugins’, get_option(‘active_plugins’)))) { add_action(‘admin_notices’, ‘superwp_wc_not_active_notice’); function superwp_wc_not_active_notice() { ?>Continue reading

Untitled Snippet

HaNoiRental Lọc Loại phòng >Phòng trọ>Căn hộ chung cư > Dưới 1 triệu > 3 – 5 triệu > 7 – 10 triệu > 13 – 15 triệuContinue reading

PHP-snippet: registratie lessen verwerken en AJAX endpoint

// Configuratie function get_parameters_36(): array { return [ “target_page_slug” => “lesrooster-evenemententeam-2025”, “tablepress_table_id” => 36 ]; } /** * Probeer een (Nederlandse) datum-string te parsen naar een DateTime in Europe/Amsterdam. * Retourneert DateTime of false als parsing mislukt. */ function etb_parse_datum_to_datetime($datum)…Continue reading

Complete Canvas Solution

// Intercept as early as possible – right when form is submitted add_action(‘wp_loaded’, ‘intercept_canvas_early’); function intercept_canvas_early() { // Check if this is an add-to-cart request with our canvas if (isset($_POST[‘add-to-cart’]) && isset($_POST[‘wpo_live_preview_image’])) { $canvas = $_POST[‘wpo_live_preview_image’]; if (!empty($canvas) && strpos($canvas,…Continue reading