Conditionally disable Cloudflare Turnstile
This code snippet turns off the CAPTCHA setting in form data so Turnstile is not initialized…
Weather API
Live weather
Free tiktok views
Get free tiktok views growing
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".
User Switching
Easily switch to a Customer when using the User Switching plugin
WP Simple Pay: Custom Smart Tag
Register a custom Smart Tag with PHP, and control the output.
Auto register guests that purchase
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…
Modify LLMS Title for a Specific Post
This snippet modifies the title shown in llms.txt and llms-full.txt for a specific post ID.
Hide Specific Day From Opening Hours Output
This filter can be used to hide a specific day from Opening Hours output Replace 'Sunday'…
WP Simple Pay: Programmatically Set Custom Field Default Value
Use metadata as the default value for a payment form's custom field.
Add Password Hint
Add standard WP password hint to checkout right below account creation fields.
Custom Cart Row
Provides a function which can be modified to add a custom row of HTML to the…
Add extra shipping providers for vendor tracking numbers
$shipping_providers = array( 'Australia' => array( 'Australia Post' => 'https://auspost.com.au/mypost/track/#/details/%1$s', 'FedEx' => 'https://www.fedex.com/apps/fedextrack/?tracknumbers=%1$s&cntry_code=au', 'Fastway Couriers' =>…
WP Simple Pay: Remove Trailing Decimals
Removes trailing decimals in amounts