Use Full Store Address in Ships From
add_filter( 'wcv_product_ships_from', 'ships_from_address' ); function ships_from_address( $field ){ global $post, $product; $shipping_disabled = wc_string_to_bool( get_option( 'wcvendors_shipping_management_cap',…
Increase After Order Actions Delay
By default, Easy Digital Downloads schedules a WP Cron event 30 seconds after a purchase is…
Allow SVG Files Upload
/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types.…
Google AdSense Amp (Header section)
Google AdSense Amp (Body section) snippet
Territory Rulebook Chatbot GPT
Territory Rulebook Chatbot GPT
MemberPress: Enabling Payment Receipt Email for Free Recurring Subscriptions
By default, MemberPress doesn’t send the payment receipt email for free recurring membership registrations. This code…
Format USD Currency
Displays $ as USD This will make $10 be displayed as 10 USD To set this…
Product tabs
ADDS A TAB IN PRODUCT PAGES
mobile sticky menu chatgpt html
Home Shop Cart Account
Explicit Fixed Width and Height
add_filter( 'the_content', 'add_image_dimensions' ); function add_image_dimensions( $content ) { preg_match_all( '/]+>/i', $content, $images); if (count($images) <…
Gravity Forms: Add Custom CSS Buttons to GravityWP CSS Ready Classes Plugin
Add custom CSS: quick buttons and accordion at the top of the GravityWP - CSS Selector…
Mapping WPForms Checkbox Values to ACF Checkbox Fields
This snippet uses the wpforms_post_submissions_process action hook to dynamically map WPForms checkbox submissions to ACF checkbox…
Lazy load YouTube videos in WordPress with Shortcode
Lazy load YouTube videos in WordPress with Shortcode