تغيير عمله
/** * 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.
Change Checks to Wire Transfer
Changes the word "Checks" to "Wire Transfer".
Google Tag Manager
Google tag manager snippet (body)
Set featured image aspect ratio
Used for featured image in query loop or any other image the class is applied to
Enable Comments
Adds comment support to the download post type
remove 'X' remove button in cart
.woocommerce table.shop_table .product-remove { text-align: center !important; display: none; }
WP Simple Pay: Set a Per-Form Custom Amount Programmatically
Adjust a single payment form's custom amount value programatically.
Remove Unused JS
/** * We will Dequeue the jQuery UI script as example. * * Hooked to the…
Disable Suggested Donation Description In Campaign (Legacy)
Add this to your theme's function.php file.
Change "City" To Town/City
Change the label of the"City" field into a "Town/City" field.
Add Campaign Status to Campaign Shortcode
This inserts the campaign status ('active', 'successful') to the [campaigns] shortcode. https://www.wpcharitable.com/documentation/the-campaigns-shortcode/