SHARE
TWEET

Untitled

a guest Jan 17th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function custom_woocommerce_placeholder_img_src( $src ) {
  2.     $upload_dir = wp_upload_dir();
  3.     $uploads = untrailingslashit( $upload_dir['baseurl'] );
  4.     // replace with path to your image
  5.     $src = $uploads . '/2019/01/15ml.png';
  6.      
  7.     return $src;
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top