Customm css code for regenerating thumbnail

This topic has 4 replies, 2 voices, and was last updated 6 years, 9 months ago ago by Rose Tyler

  • Avatar: civetcafe
    civetcafe
    Participant
    February 9, 2018 at 09:57

    Hello,

    You gave me a code add_filter( 'woocommerce_background_image_regeneration', '__return_false' );
    to disable the regenaration of thumbnail to avoid admin-ajax to spike.

    WHere can I add this code? Sorry.

    Thanks

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 9, 2018 at 13:53

    Hello,

    Please add the code in functions.php file of child theme.

    Regards

    Avatar: civetcafe
    civetcafe
    Participant
    February 9, 2018 at 15:53

    Perfect. Thanks

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 9, 2018 at 16:00

    You’re welcome!

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.