Replace Image

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 1 reply thread
  • Author
    Posts
    • #119550
      ashley.younguk
      Participant

      Hello

      I would like to replace the default image used as the placehold for the featured image upload when adding a product, the image is located at

      /wc-frontend-manager/includes/libs/upload/images/Placeholder.png

      How would I replace this?

    • #119712

      Hello,

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      add_filter('wcfm_default_placeholder_image',function($imgurl){
      	$imgurl = get_stylesheet_directory_uri().'/img/user_prev.png';
      	return $imgurl;
      });

      Thanks.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.