/** * Change checkout email subject for patients */ function acme_checkout_email_subject_patient() { $email_subject_text = ‘Thank you for your order.’; // Change this text. return $email_subject_text; } add_filter( ‘wpd_ecommerce_checkout_email_subject_patient’, ‘acme_checkout_email_subject_patient’ );
wpd_ecommerce_single_item_price
<?php /** * Hide single item price display for non-logged in users * * @param string $display_price */ function acme_single_item_price_display( $display_price ) { // Get WPD settings from General tab. $wpdas_general = get_option( ‘wpdas_general’ ); // Check if user is required to be logged in to shop. if ( isset( $wpdas_general[‘wpd_ecommerce_cart_require_login_to_shop’] ) ) { $login_to_shop […]
wpd_ecommerce_account_admin_patients_text
<?php /** * Change "Patients" text on admin Account page. */ function acme_vendors_text() { $vendors_text = ‘Vendors’; // Change this text. return $vendors_text; } add_filter( ‘wpd_ecommerce_account_admin_patients_text’, ‘acme_vendors_text’ );
CannaBizWeek – Designed by Footer Copyright
function custom_cannabiz_footer() { $cannabiz_footer_designedby = "| Designed by <a href=’http://www.robertdevore.com’>Robert DeVore</a>"; return $cannabiz_footer_designedby; } add_filter( "cannabiz_footer_designedby", "custom_cannabiz_footer" );
wpdwc_weight_twograms
/** Filter to change the two grams weight name in WooConnect */ function acme_weight_twograms( $weighttwograms ) { $weighttwograms = ‘2g’; return $weighttwograms; } add_filter( ‘wpdwc_weight_twograms’, ‘acme_weight_twograms’ );
wpdwc_weight_halfgram
/** Filter to change the half gram weight name in WooConnect */ function acme_weight_halfgram( $weighthalfgram ) { $weighthalfgram = ‘0.5g’; return $weighthalfgram; } add_filter( ‘wpdwc_weight_halfgram’, ‘acme_weight_halfgram’ );
wpdwc_weight_ounce
/** Filter to change the ounce weight name in WooConnect */ function acme_weight_ounce( $weightounce ) { $weightounce = ’28g’; return $weightounce; } add_filter( ‘wpdwc_weight_ounce’, ‘acme_weight_ounce’ );
wpdwc_weight_half
/** Filter to change the half ounce weight name in WooConnect */ function acme_weight_half( $weighthalf ) { $weighthalf = ’14g’; return $weighthalf; } add_filter( ‘wpdwc_weight_half’, ‘acme_weight_half’ );