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' );…
Elementor - Fix the Accordion SEO issue
add_filter( 'elementor/widget/render_content', function ( $widget_content, $widget ) { if ( 'accordion' === $widget->get_name() ) { $widget_content…
MemberPress: Pass a Member Phone Number to Stripe
This code will pass the phone number a member added to the membership registration form when…
Defer or Async CSS Loading
Defer or Async CSS Loading
add 2 nos
function addNumbers() { // Get input values const num1 = parseFloat(document.getElementById('num1').value); const num2 = parseFloat(document.getElementById('num2').value); //…
Add Gateway Donation Field
Enable an email tag for the gateway_label donation field.
WPCode Snippet: MU-Plugins Sync Engine
/** * WPCode Snippet: MU-Plugins Sync Engine * Description: Synchronizes MU-Plugins FROM /wp-content/mu-plugins/ TO wpcode_snippets_sync CPT…
Atrevi
ChatBot Atrevi
Disable RSS - Feed
Disable RSS - Feed
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; }…
Login by email only by Amiru アミル さん
Users can login by their emails only. I included my 5 main steps to do so.…
Conversion Event Snippet
When people click on book now or sign up and redirected to Mindbody for bookings.
Custom Terms Page
Use the custom page for "agree to terms" and link to it instead of opening terms…