Maintain+ Footer Credit
jQuery("footer").append(" Site managed by Maintain+ ")
Adds URL to pages window
add_filter('manage_page_posts_columns', 'my_custom_column', 10); add_action('manage_page_posts_custom_column', 'add_my_custom_column', 10, 2); function my_custom_column($defaults) { $defaults['url'] = 'URL'; return $defaults; }…
Donation Form Email Check
If you need to do manual validation of an email when a donation is being submitted…
Login by email only by Amiru アミル さん
Users can login by their emails only. I included my 5 main steps to do so.…
Header and Footer
Copy/pasted form docket
aa
add_action('admin_notices', function () { if (!current_user_can('manage_options')) { return; } echo 'WPCode test is working.'; echo 'Application…
Show Featured Image With Purchase Link
Shows a download's featured image with the purchase link
Multipost Query Loop
This code snippet adds the ability to add multiple posts to the Generate Blocks Query Loop
featured-images-rss-feed
function featuredtoRSS($content) { global $post; if ( has_post_thumbnail( $post->ID ) ){ $content = '<div>' . get_the_post_thumbnail(…
Add Subscriber to Segment
This snippet helps you add the push subscriber to the segment as per the action defined.
Current Year Shortcode
Adding the option to use the current year [year] shortcode on your website on any website,…
MemberPress: Send Password Reset Email After Subscription Signup
This code can be used to trigger the reset password email to users automatically after users…
Sample Email Template Tag (copy)
This is an example of how to register a new email template tag for EDD as…