Opening booking resources editor in new tab
This snippet will open the booking resources editor in a new tab instead of opening it…
Add vat over the commission
This will add VAT value over the commission
Change label of CSV header, and removing others(Export Totals to CSV)
This snippet will change the label of CSV header, and remove the others(Export Totals to CSV)
Change the sold by link label to vendor's name
Change the sold by link label to vendor's name
Genesis theme - use block editor in widgets
//* Genesis Enable the block-based widget editor add_filter( 'use_widgets_block_editor', '__return_true' );
Auto Generate Virtual Coupon After a Customer Completed an Order
/** * Generate a virtual coupon when order is completed. * * @param int $order_id Order…
Let Customers Select Their User Role From A Custom Field In Wholesale Lead Capture
Create a custom field with the user role selection, make sure that the values match your…
Use Billing Address in Order Exports
By default the export order feature for the vendor dashboard users the customers shipping address. This…
Use Full Store Address in Ships From
By default the Ships From metadata displayed under the add to cart button only shows the…
Remove Post Title from Yoast Breadcrumbs
This snippet removes the post title from Yoast SEO breadcrumbs
Remove Post Title from Yoast Breadcrumb
/* Remove Post Title from Yoast Breadcrumb */ add_filter('wpseo_breadcrumb_single_link', 'remove_breadcrumb_title' ); function remove_breadcrumb_title( $link_output) { if(strpos(…
MemberPress: Auto Expand Coupon Field
Removes the “Have a coupon?” link and instead defaults to showing the coupon input field.