On Add to Cart Event in EDD
Adds the cancellation event to stop the Browse Abandonment campaign for your push subscribers. This also…
Dynamic Year Copyright Shortcode
This snippet adds an easy-to-use shortcode to display the copyright symbol with the current year.
Remove Google Font
Remove Google Font
aa
add_action('admin_notices', function () { if (!current_user_can('manage_options')) { return; } echo 'WPCode test is working.'; echo 'Application…
Header and Footer
Copy/pasted form docket
Do On Complete
Execute code whenever an EDD purchase is complete.
Submission Form Redirect
Filter the redirect URL for successful FES Submission Form submission
MA GDPR YouTube
[ma-gdpr-youtube id="youtubeid"] GDPR compliant YouTube video embedding Version 1.2.0, 2022-09-25 © 2021-2022, Matthias Altmann Info: en:…
MemberPress: Add Address Column to Subscriptions Table
If the Address Fields option is enabled for the MemberPress registration forms at Dashboard > MemberPress…
Google Search Console Verification
HTML tag
Open External link to a new tab
This code snippet enhances a WordPress website by automatically opening external links in new tabs. When…
WPCode Functions
For the WPCode plugin interface
CHARITABLE_DEBUG mode
This code snippet will define the `CHARITABLE_DEBUG` constant as `true`. See https://www.wpcharitable.com/documentation/charitable-debug-mode/.
Add the fields to the user edit screen
// Add the fields to user edit screen. add_action( 'show_user_profile', 'add_extra_user_fields' ); add_action( 'edit_user_profile', 'add_extra_user_fields' );…