MemberPress: Add Author Bio Shortcode
Place the [mpcs-author-bio] shortcode in a post, page, or course. The shortcode will display the biographical…
WP Simple Pay: Copy Payment Metadata to Customer Metadata
Ensure the Stripe Customer metadata is the same as the Stripe Payment metadata.
How To Show Last Modified Date On Blog Post Instead Of Published Date in WordPress
If you want to display the last modified date on your blog post without using a…
WP Simple Pay: Conditionally Dequeue Scripts & Styles
Conditionally dequeue scripts & styles based on set conditions. In this example, we remove all plugin…
WP Simple Pay: Custom Server-Side Validation Before Payment Creation
Perform additional custom server-side validation prior to allowing a payment to be created.
WP Simple Pay: Programmatically Access Payment Metadata After Payment
Programmatically access metadata (such as custom field values) associated with a payment record after a subscription…
WP Simple Pay: Disable Stripe Payment Terms
Disable the automatically generated payment form mandates. NOTE: No recommended. Some payment methods require mandates to…
Completely Disable Comments
add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…
Add Rel Nofollow to Top Bar Social Links
We don't recommend it but if you want to add a nofollow attribute to your top…
WP Simple Pay: Add User Meta After Payment
Use the payment email address to look up a WordPress user and add custom meta information.
WP Simple Pay: Facebook Payment Conversion Tracking
Execute a script the first and only time a payment confirmation is viewed.
sion
sion
Open External link to a new tab
This code snippet enhances a WordPress website by automatically opening external links in new tabs. When…
Add Subscriber to Segment
This snippet helps you add the push subscriber to the segment as per the action defined.
On Add to Cart Event in EDD
Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers. This also…