WWQ - Hide Add to Quote button from regular customers
add_filter( 'wws_wq_quote_button_html', 'wwq_restrict_quote_button_to_wholesale' ); add_filter( 'wws_wq_quote_button_cart_html', 'wwq_restrict_quote_button_to_wholesale' ); add_filter( 'wws_wq_quote_button_checkout_html', 'wwq_restrict_quote_button_to_wholesale' ); function wwq_restrict_quote_button_to_wholesale( $button_html )…
CSS Hide regular price
.original-computed-price ins:first-of-type{ display:none; }
ACFW - Fix for fatal error on Add products tab with permanently deleted products
$guard = function( $add_products ) { if ( ! is_array( $add_products ) ) { return $add_products;…
Allow HTML in the product description
function wcv_wpkses_post_html_tags( $tags, $context ) { if ( 'post' === $context ) { $tags['iframe'] = array(…
Add custom page to the vendor dashboard - custom menu link
add_filter( 'wcv_pro_dashboard_urls', 'custom_menu_link' ); function custom_menu_link( $pages ) { $pages[ 'custom_link' ] = array( 'slug' =>…
Remove Remember Me
Hides the login option to remember me via CSS.
https://library.wpcode.com/editor
Q0QYPE3FANNDFWNJM
Buy Now
...
Ensure Webfont is Loaded
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );
Move "Ships From" under the Product Meta, in the single product page template
Move "Ships From" under the Product Meta, in the single product page template by using 'product_ships_from'…
Static Page
html, body { overflow-x:hidden }
Disable wordpress big image scaling
add_filter('big_image_size_threshold', '__return_false' );