product data tabs
/** * Rename product data tabs */ add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 ); function woo_rename_tabs( $tabs )…
Add the "input hidden" field type to the EDD settings
Add 'input type="hidden"' to the type of input fields available when setting up your plugin's EDD…
Untitled Snippet
Google snippet for add
HubSpot Tracking Code
HubSpot Tracking Code
WWPP - Add custom text to the Completed Order email for non-wholesale customers only
If you want to place content elsewhere in the email, swap the hook: woocommerce_email_before_order_table: Above the…
Untitled Snippet
import { BrowserRouter, Routes, Route, Link } from "react-router-dom"; import "./styles.css"; function Header() { return (…
Opening booking resources editor in new tab
This snippet will open the booking resources editor in a new tab instead of opening it…
Custom Restriction: Category-Specific Subtotal
Before saving the snippet, please update the three variables at the top of the function to…
Untitled Snippet
Connect site google
ALP - Fix missing custom order status options
Fixing the bug in Advanced Loyalty Program v 1.9.2 of missing custom order status options.
Override the commission calculation priority order
/** * Given the provided list of vendor_ids in the vendors array, override the commission to…
Admin Dashboard Access
Limit dashboard access to admin users only. Redirect all other users to site homepage.
Fix 500 Internal Server Error
A .htaccess file is a key file in all PHP-based applications that controls your website’s configuration.…