Set Minimum total purchase amount

add_action( 'woocommerce_check_cart_items', 'required_min_cart_subtotal_amount' ); function required_min_cart_subtotal_amount() { // HERE Set minimum cart total amount $minimum_amount =…

Remove hyperlink from name field

add_filter('preprocess_comment', 'remove_links_from_comment_author'); function remove_links_from_comment_author($commentdata) { // Regular expression to detect hyperlinks $pattern = '/

Pete Tran
<10

Add user registration date

/* * Creating a column (it is also possible to remove some default ones) */ add_filter(…

MemebrPress: Send Membership-Specific Welcome Email Only When Transaction Is Completed

The code snippet will allow the membership-specific welcome email to be triggered only following the successful…

Remove Download Links

Remove download links from checkout page for all downloads.

Google Tag Fitting

Google Tag manager snippet to track

JT Trisko
<10

Changing Text For Suggestion Donation Descriptions

You can place this code in your theme functions.php or use WPCode.

Set State Field To Us States Dropdown With Default

Change the "State" field into a "Province" field.

Failed login: Don't show if username is correct

If a user's login fails, don't tell them whether the username or password was incorrect

1 … 85 86 87 88 89 … 244