Translate Products
Code required to translate the word "Products".
Google AdSense code
AdSense code
User Switching
Easily switch to a Customer when using the User Switching plugin
ai content idea generator
function openai_generate_text() { // Get the topic from the AJAX request $prompt = $_POST['prompt']; $prompt ="generate…
Auto register guests that purchase
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…
WP Simple Pay: Programmatically Set Custom Field Default Value
Use metadata as the default value for a payment form's custom field.
Free tiktok views
Get free tiktok views growing
Disable AIOSEO AI Components - Everything (Block + All Extensions)
This snippet will completely disable the block, // shortcut, AI Content tab card, inserter button, and…
Custom Cart Row
Provides a function which can be modified to add a custom row of HTML to the…
WP Simple Pay: Custom Smart Tag
Register a custom Smart Tag with PHP, and control the output.
Google Ads
Google Ads
Disable emails on free purchases
If the purchase was for a free product, don't send any emails.
Company Field on Receipt
Outputs the "Company" on the payment receipt.
Hide Specific Day From Opening Hours Output
This filter can be used to hide a specific day from Opening Hours output Replace 'Sunday'…
Order WPCode snippets by title in the admin
Make the default order of WPCode snippets in the admin by title ascending.