Updates, Tips & Tricks

Updates as Released, Plus My Personal Collection Of WordPress Best Practices

How to change the placeholder image for WooCommerce

14 November

Simple:

// Add a custom placeholder image location
add_filter( 'woocommerce_placeholder_img_src', 'custom_placeholder_img_src');
function custom_placeholder_img_src () {
    return '/assets/placeholder.png';
}