Helper functions to make generating WordPress post type labels and taxonomy labels easier
Generate post type and taxonomy labels easily by specifying the singular and plural version of the…
Translate Products
Code required to translate the word "Products".
ai content idea generator
function openai_generate_text() { // Get the topic from the AJAX request $prompt = $_POST['prompt']; $prompt ="generate…
User Switching
Easily switch to a Customer when using the User Switching plugin
Auto register guests that purchase
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…
Disable AIOSEO AI Components - Everything (Block + All Extensions)
This snippet will completely disable the block, // shortcut, AI Content tab card, inserter button, and…
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
WP Simple Pay: Custom Smart Tag
Register a custom Smart Tag with PHP, and control the output.
Custom Cart Row
Provides a function which can be modified to add a custom row of HTML to the…
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.
WP Simple Pay: Copy Payment Metadata to Customer Metadata
Ensure the Stripe Customer metadata is the same as the Stripe Payment metadata.
Hide Specific Day From Opening Hours Output
This filter can be used to hide a specific day from Opening Hours output Replace 'Sunday'…