WP Simple Pay: Google GA4 Payment Conversion Tracking
Execute a script the first and only time a payment confirmation is viewed.
MemberPress: Restrict Signups to a Specific Country
This code snippet limits registration to users from the specified country only. If users from other…
MemberPress: Adjust Membership Price Based on Membership ID on Checkout Page
This snippet modifies the price of a specific membership (based on the membership ID) in MemberPress.…
MemberPress: Adding Credit Card and Expiry Information to Subscriptions Table
This snippet adds a new column to the table under the Subscriptions tab on the Account…
تغيير عمله
/** * Change a currency symbol */ add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); function change_existing_currency_symbol( $currency_symbol, $currency )…
Set Fixed Donation Amount
Automatically set the donation amount and recurring period for donations.
GOOGLE AD
google.com, pub-8822076209599189, DIRECT, f08c47fec0942fa0
WooCommerce Wholesale Lead Capture Re-send Email Button in User Profile
This snippet will add a resend email button under User profile.
Post class update
add_filter( 'body_class', function( $classes ) { $acc_type=tmwp_get_user_role(); if (!$acc_type) $acc_type='anonymous'; return array_merge( $classes, array('acc-type-'.strtolower($acc_type),tmwp_get_page_class()) ); }…
MemberPress: WooCommerce - Show Specific WooCommerce Product Based on MemberPress Subscription
This code snippet will show the specific WooCommerce product only to users who have an active…
CHARITABLE_DEBUG mode
This code snippet will define the `CHARITABLE_DEBUG` constant as `true`. See https://www.wpcharitable.com/documentation/charitable-debug-mode/.
Set featured image aspect ratio
Used for featured image in query loop or any other image the class is applied to
Disable recurring renewal notices for specific download
Allows renewal notice emails to be disabled for subscriptions including a certain download.
Remove Free Text
Remove the word "free" from free products