fontfaceObserver.js
Detect if web fonts are available
Bootstrap 5
// Add custom scripts function add_custom_script_bootstrap5() { wp_register_script( 'bootstrap5_js', 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.min.js', array(), '5.3.3', true ); wp_enqueue_script( 'bootstrap5_js'…
Dynamic copyright year using HTML
Adjust the styling either inline or using css
Dynamic year for inserting copyright using only html with inline js
Adjust the styling either inline or using css. Either automatically add this to your site-wide footer,…
MemberPress: Create a Fallback Downgrade When a Transaction Fails
By default, the transaction has to expire, be canceled, or be refunded to create the fallback…
Booking Plugin with ChatGPT
Create WordPress plugin with chatgpt free [Step-by-Step Tutorial] https://maxkinon.com/create-wordpress-plugin-with-chatgpt-free-step-by-step-tutorial/
Change the FILEMANAGERURL
Change the FILEMANAGERURL in Modern Pos
Modern Pos Ajax Issues
define('SUBDIRECTORY', 'modernpos');
MemberPress: Change Non-Recurring Renewal Price
This code snippet allows modification of a one-time membership’s price for renewals. The code should be…
MemberPress: Turn Off Auto-Rebill for Offline Gateway
Some integrations - like Mail Chimp - require auto-rebill to be stopped before they do their…
MemberPress: Whitelist Domains
This code snippet works when content is protected by MemberPress Rules. By default, logged-out visitors, and…
MemberPress: Send Email to User When Their User Role Is Changed
Adding this code snippet to a website will send an automated email to the user each…
MemberPress: Send Failed Transaction Notice When Admin Sets Transaction to Failed
When a website administrator changes the member’s transaction status to Failed in the WordPress Dashboard >…
MemberPress: Add An Email Parameter That Displays A Link To The Sub-Account Signup Page
This code will create a new email parameter named {$subaccount_link}. This email parameter can be added…
MemberPress: Send “Profile Updated” Admin Notification When MemberPress Account Is Updated
Similar to the code snippet here: https://library.wpcode.com/snippet/m5ye1wj2/, this code sends a notification to the admin when…