This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Function to change email address | |
| function pbj_sender_email( $original_email_address ) { | |
| return 'example@yourshop.com'; | |
| } | |
| // Function to change sender name | |
| function pbj_sender_name( $original_email_from ) { | |
| return 'Your Shop Name'; | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function example_price_free_delivery_note() { | |
| ?> | |
| <style> | |
| .delivery-note .head-item-price, | |
| .delivery-note .head-price, | |
| .delivery-note .product-item-price, | |
| .delivery-note .product-price, | |
| .delivery-note .order-items tfoot { | |
| display: none; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function example_serif_font_and_large_address() { | |
| ?> | |
| <style> | |
| #page { | |
| font-size: 1.2em; | |
| font-family: Georgia, serif; | |
| } | |
| .company-logo { | |
| font-size: 2em; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'wcdn_order_item_fields', 'wcdn_remove_sku', PHP_INT_MAX, 3 ); | |
| function wcdn_remove_sku( $fields, $product, $order ) { | |
| unset( $fields['sku'] ); | |
| return $fields; | |
| } | |
| /** https://wordpress.org/support/topic/remove-sku-from-invoice/ **/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function example_removed_payment_method( $fields ) { | |
| unset( $fields['payment_method'] ); | |
| return $fields; | |
| } | |
| add_filter( 'wcdn_order_info_fields', 'example_removed_payment_method' ); | |
| /** https://copperpanjams.com/wp-admin/index.php?page=wcdn_faq_page **/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40 ); | |
| /** https://www.businessbloomer.com/woocommerce-hide-category-tag-single-product-page/ **/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_action( 'init', 'woo_remove_wc_breadcrumbs' ); | |
| function woo_remove_wc_breadcrumbs() { | |
| remove_action( 'woocommerce_before_main_content', 'woocommerce_breadcrumb', 20, 0 ); | |
| } | |
| /** https://docs.woocommerce.com/document/customise-the-woocommerce-breadcrumb/ **/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| remove_action( 'woocommerce_before_shop_loop', 'woocommerce_result_count', 20 ); | |
| /** https://www.businessbloomer.com/woocommerce-remove-showing-single-result/ **/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 ); | |
| /** https://www.businessbloomer.com/woocommerce-remove-default-sorting-dropdown/ **/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function prefix_remove_arpw_style() { | |
| wp_dequeue_style( 'arpw-style' ); | |
| } | |
| add_action( 'wp_enqueue_scripts', 'prefix_remove_arpw_style', 10 ); | |
| /** https://wordpress.org/plugins/advanced-random-posts-widget/faq/ **/ |