MemberPress: Disable the Default WordPress Password Reset Link E-Mail
If the "Disable Password Fields on membership registration forms" option is active in MemberPress settings (Dashboard…
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; }…
How to Disable Browser Autocomplete for Form Fields - specific fields
/** * Disable autocomplete for a specific form and field ID * * @link https://wpforms.com/developers/disable-browser-autocomplete-for-form-fields/ */…
Set New User Role
Set the role of users who register through the Charitable registration form shortcode.
Insert Template at the Bottom of the Mobile Menu
The following snippet can be used to insert a custom template in the bottom region of…
Allow JS Files Upload
Allowing to upload JS files into media folder for custom special integration such as booking search…
Paid Memberships Pro with WC Vendors
// PAID MEMBERSHIPS PRO -- UPGRADE TO VENDOR, DOWNGRADE TO SUBSCRIBER /* Members signing up for…
Add custom page to the vendor dashboard
// Hook into the navigation add_filter( 'wcv_pro_dashboard_urls', 'add_test_page_nav', 9 ); function add_test_page_nav( $pages ){ $pages[ 'test_page'…
WP Simple Pay: Reduce Currency Minimum Amount
The minimum amount is $0.50 US or equivalent in charge currency. WP Simple Pay uses $1.00…
Remove Recurring Donation Time Periods
This snippet removes some options for recurring donation periods with Charitable's Recurring Donations addon. This might…
Yandex (New Counter)
Yandex ew counter Snippet
Add WPCode Permalink Smart Tag
Add a custom smart tag for WPCode to output the value of the current page permalink.
Chatbot
AI Gina
How to Set the Language for Google reCAPTCHA
/** * Set the language for Google reCAPTCHA. * * @link https://wpforms.com/developers/how-to-set-the-language-for-google-recaptcha/ */ function wpf_dev_recaptcha_language( $url…