Auto register guests that purchase

function wc_register_guests( $order_id ) { // get all the order data $order = new WC_Order($order_id); //get…

Carla Mawyin
<10

Defining SendLayer Mailer Constants

This snippet will prevent users from changing WP Mail SMTP settings in your WordPress admin area…

MemberPress: Generate All Invoices

If the MemberPress PDF Invoice add-on is activated on the website, MemberPress will start generating invoices…

quiz

// setup console.log("running"); let q = 1; const submit = document.getElementById("next-button"); const question = document.getElementById("question"); //…

MemberPress: Code Blocks Pro - Load All Currently Enqueued Styles In the Courses ReadyLaunch Template

By default, if the ReadyLaunch Courses/Lessons template is enabled, the MemberPress Courses add-on won’t enqueue 3rd-party…

Remove Terms Fields

If you would like to enable the terms and conditions, privacy policy and user contact consent…

Send New User Notifications

Send the new user notification after someone registers through the Charitable registration form.

Remove Organisation Field

Remove "organisation" from the profile form.

Remove Last Name at Checkout

Removes the Last Name field from the checkout page. Note: This worked with checkout shortcode only

Untitled Snippet

'options' => array( '' => 'Maak een keuze', 'Google' => 'Google', 'Via Marktplaats' => 'Via Marktplaats',…

Event Data | Display Eventbrite Events

Please note that this guide is intended for advanced users and developers. Our plugin already offers…

Change Admin Panel Footer Text

Display custom text in the admin panel footer with this snippet.

Note Orders

add_filter( 'manage_edit-shop_order_columns', 'custom_shop_order_column', 90 ); function custom_shop_order_column( $columns ) { $ordered_columns = array(); foreach( $columns as…

1 … 52 53 54 55 56 … 244