Enable Downloads in the WP REST API
Enable the download products to show in the WP REST API
Disable Author Archive
A small Code that disable the WordPress Author Archive and redirect to the Homepage
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' );…
Set a Custom Email Header
This snippet sets custom email headers to ensure you can control specific behaviors of your sent…
MemberPress: Export Account Type in CSV
Add the following code to add a new CSV export option for Corporate Accounts that includes…
Replace [year] with the current year
Type [year] anywhere that you want the current year to be inserted.
MemberPress: Add Address Column to Subscriptions Table
If the Address Fields option is enabled for the MemberPress registration forms at Dashboard > MemberPress…
test1
say hellp
MemberPress: Add the Invoice Number to the Transactions Screen
If the MemberPress PDF Invoice add-on is activated on the website, MemberPress will start generating invoices…
Add Gateway Donation Field
Enable an email tag for the gateway_label donation field.
Untitled Snippet
document.addEventListener("click", (e) => { const pill = e.target.closest(".rs-pill"); if (!pill) return; const row = pill.parentElement; row.querySelectorAll(".rs-pill").forEach(p…
Filter to change Custom Post Type settings | Quick Event Manager
The plugin uses Custom Post Types for Events. The default setting for the post type is…
Change Text For Minimum Donation Message
This allows you to change text for the display of the minimum donation on a donation…
Hide Elementor AI Image
/* * Hide Elementor image optimization ads when choosing the post's featured image on the backend…