Send Notifications On User Registration
/** * Notify admin and user when a user registers with Charitable. * * @param array[]…
MemberPress: Add Author Bio Shortcode
Place the [mpcs-author-bio] shortcode in a post, page, or course. The shortcode will display the biographical…
Button - Add to cart to Buy Now
add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) { if ( 'Add to cart' == $text ) { $text…
Continue Shopping Button
Adds a "Continue Shopping" button to the left of the Update/Save Cart buttons on checkout.
Move WooCommerce Category Description Below Products
The following snippet moves the WooCommerce description from the default location (page header subheading) to below…
Add Individual Category Tag Columns
Show a separate column for each category and tag, with a 1 or a 0 in…
Remove "mail.readwrite" Scope for the Outlook Mailer
This snippet removes the `mail.readwrite` scope from the WP Mail SMTP plugin Outlook provider.
WP Simple Pay: {subtotal} Smart Tag
Adds a {subtotal} Smart Tag.
Add WPCode Custom Field Smart Tag
Add a custom smart tag for the WPCode scripts metabox that outputs the value of a…
Show local fonts in block editor
Display custom fonts in the backend editor
MemberPress: Add a description to Order Bumps on the registration page
In this example, a description is added to an Order Bump with a membership ID of…
Custom Email Template
Creates a custom email template for EDD emails.
WP Simple Pay: Hide reCAPTCHA Badge
Hide the reCAPTCHA badge and add links to the privacy policy and terms of service. Adds…
Customer Order Note for WooCommerce Products
Inserts a note field next to the add-to-cart button on every WooCommerce product page. Customers can…
Show current day, month, year in various formats
Return the current date and parts of current date in various formats