Search results for: admin
Add aria-label to progress bar to improve WPForms accessibility
/** * Fix WPForms Accessibility: Add aria-label to progress bar. */ function wpf_fix_wpforms_progressbar_aria() { ?>
WPForms Custom Real-time Keyword Blocklist
This code snippet will add a custom validation rule to block specific keywords in real-time mirroring…
Allow only specific days of the month in all WPForms date pickers
If you only want users to select certain days of the month in the Date Picker,…
Auto register guests that purchase
function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…
Button - Add to cart to Buy Now
add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) { if ( 'Add to cart' == $text ) { $text…
Buy Now Button - Variation
add_filter( 'gettext', 'customizing_product_variation_message', 10, 3 ); function customizing_product_variation_message( $translated_text, $untranslated_text, $domain ) { if ($untranslated_text ==…
Continue Shopping Button
/** * Add Continue Shopping Button on Cart Page * Add to theme functions.php file or…
product data tabs
/** * Rename product data tabs */ add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 ); function woo_rename_tabs( $tabs )…
bypass SSL certificate
bypass ssl - getting errors - fixes that
Button - Read More to Buy Now
changes read more to buy now
Product tabs
ADDS A TAB IN PRODUCT PAGES
Disallow point redemption if cart has subscription product.
This snippet will remove the point redemption option if the cart has a subscription product
Disallow store credits if cart has subscription product
This snippet will remove the store credit option if the cart has a subscription product
Generate a virtual coupon when order is completed.
This snippet will generate a new virtual coupon for a coupon that you've enabled virtual coupon…