Google Analytics
Tracking Script
MemberPress: Add Thumbnail Support for MP Downloads
By default, the MemberPress Downloads add-on doesn't support thumbnails or featured images for downloadable files. This…
Redirect from Array
Setup redirect for multiple pages.
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 ==…
Google Search Console Verification
HTML tag
Alter Payment List Quick Actions
Remove the 'Delete' option from the Payment List Quick Action
Modify User Role on Checkout
Modify the user role that is given to users that register during checkout
aa
add_action('admin_notices', function () { if (!current_user_can('manage_options')) { return; } echo 'WPCode test is working.'; echo 'Application…
Remove Order Notes in checkout page
/** * Snippet Name: Remove the Order Notes field section from the WooCommerce checkout. * Snippet…
MemberPress: Pass a Member Phone Number to Stripe
This code will pass the phone number a member added to the membership registration form when…
Defer or Async CSS Loading
Defer or Async CSS Loading
Minify HTML
function minify_html($buffer) { // Remove comments $buffer = preg_replace('//', '', $buffer); // Remove whitespace $buffer =…