• Resolved Michael Rieder

    (@teamtacho)


    Hi Team

    I have some post without a featured image. These post will have your/wp default image. How can I raplace those images or hide it and keep the image of featured image posts.

    Best Regards

Viewing 1 replies (of 1 total)
  • Plugin Support Pulak Ahmed

    (@pulak00)

    Hello @teamtacho,

    Yes, it’s possible to change the default placeholder image to a custom image using the following hook. You can change the image URL to set one of yours.

    function my_custom_placeholder_image( $placeholder_img ) {
    return 'https://yourwebsite.com/wp-content/uploads/custom-placeholder.png';
    }
    add_filter( 'pcp_no_thumb_placeholder', 'my_custom_placeholder_image' );

    Apply the code and the default placeholder image will be updated.

    Thank you.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.