to add WooCommerce WhatsApp Product Enquiry. NO API Used.

/* Plugin Name: SuperWp WhatsApp Product Enquiry Description: Adds a WhatsApp enquiry button to WooCommerce product pages with customizable options, custom messages, and phone number input. Version: 1.0.3 Author: Thiarara SuperWP */ // Add WooCommerce Submenu for WhatsApp Enquiry Settings…Continue reading

to add WordPress WooCommerce WhatsApp checkout

// 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

Show WooCommerce Cart and Checkout on the Same page Free No Plugin

// 1. Add Woocommerce cart page on the checkout page add_action( ‘woocommerce_before_checkout_form’, ‘add_cart_on_checkout’, 5 ); function add_cart_on_checkout() { if ( is_wc_endpoint_url( ‘order-received’ ) ) return; echo do_shortcode(”); // Woocommerce cart page shortcode } // 2. Redirect cart page to checkout…Continue reading

How to Allow WordPress WooCommerce Direct Order to WhatsApp Free.

// Add custom checkbox and WhatsApp number fields to product edit page add_action(‘woocommerce_product_options_general_product_data’, ‘add_whatsapp_order_fields’); function add_whatsapp_order_fields() { woocommerce_wp_checkbox(array( ‘id’ => ‘allow_whatsapp_order’, ‘label’ => __(‘Allow WhatsApp Order’, ‘text-domain’), ‘description’ => __(‘Check this box to enable WhatsApp ordering for this product.’, ‘text-domain’),…Continue reading

Allow SVG Files Upload

/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types. * * @return mixed */ add_filter( ‘upload_mimes’, function ( $upload_mimes ) { // By default, only administrator users are allowed to add SVGs. //…Continue reading

Enhanced Force Author Plugin

About This Plugin This plugin forces all selected content types to show a specific author, while maintaining the original author information in the database. The original author information is visible in the posts/pages list under the “Original Author” column.Continue reading

Untitled Snippet

document.addEventListener(“DOMContentLoaded”, () => { const canvas = document.getElementById(“canvas”); const ctx = canvas.getContext(“2d”); const expressionInput = document.getElementById(“expressionInput”); const drawButton = document.getElementById(“drawButton”); const resetButton = document.getElementById(“resetButton”); const saveButton = document.getElementById(“saveButton”); const colorPicker = document.getElementById(“colorPicker”); const gridToggle = document.getElementById(“gridToggle”); let scaleX = 25;…Continue reading

Untitled Snippet

body { font-family: Arial, sans-serif; text-align: center; margin: 20px; background-color: #f9f9f9; color: #333; } h1 { color: #4a90e2; } #controls { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 20px; } #controls input, #controls button { padding: 10px; font-size:…Continue reading

Untitled Snippet

Đồ Thị Hàm Số Đồ Thị Hàm Số Thêm Đồ Thị Reset Màu Đồ Thị: Hiển Thị Lưới: Lưu Kết Quả Hướng Dẫn Nhập Phép Toán Ký Hiệu Mũ ** Nhân * Chia / Cộng + Trừ – Sin sin(x)…Continue reading