Remove Last Name at Checkout
Removes the Last Name field from the checkout page. Note: This worked with checkout shortcode only
MemberPress: Disable Admin Password Lost/Changed Email
Disable the MemberPress Admin email notification for password lost/changed.
Allow Other WordPress Roles to View Email Logs
This snippet will allow you to manage the capabilities of roles allowed to view the site's…
Limit user posts
A settings page to set the number of posts all users can create
Custom Countries
Illustrates how to add a custom list of countries This list will be used anywhere EDD…
Add Security Info to Checkout
Replace the image on checkout with the proper image for your SSL certificate.
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: Conditionally Dequeue Scripts & Styles
Conditionally dequeue scripts & styles based on set conditions. In this example, we remove all plugin…
Remove Gutenberg Blocks CSS
add_action( 'wp_enqueue_scripts', function () { wp_dequeue_style( 'wp-block-library' ); wp_dequeue_style( 'wp-block-library-theme' ); // Remove WooCommerce block CSS…
Remove "p" tags Contact Form 7
Remove tags from the forms in the frontend
WordPress Post Views Counter Function
function wpb_set_post_views($postID) { $count_key = 'wpb_post_views_count'; $count = get_post_meta($postID, $count_key, true); if($count==''){ $count = 0; delete_post_meta($postID,…
CSS For Craft Picker
/* General Styles */ body { margin: 0; font-family: 'Arial', sans-serif; background-color: #f9f9f9; color: #333; line-height:…
Book Review
Used to list book review recommendations
Google adsense
To connect to Google AdSense
Disable Donations After Goal Is Reached
Disables donations to campaigns after they have reached their goal.