{"id":940,"date":"2024-05-07T11:46:00","date_gmt":"2024-05-07T11:46:00","guid":{"rendered":"https:\/\/kb.shortpixel.com\/docs\/how-to-remove-the-remove-background-functionality-from-emr\/"},"modified":"2025-08-27T08:39:54","modified_gmt":"2025-08-27T08:39:54","password":"","slug":"how-to-remove-the-remove-background-functionality-from-emr","status":"publish","type":"docs","link":"https:\/\/kb.shortpixel.com\/knowledge-base\/article\/how-to-remove-the-remove-background-functionality-from-emr\/","title":{"rendered":"How to disable the Remove background functionality from EMR"},"content":{"rendered":"\n<p>If you want to disable the <a href=\"https:\/\/shortpixel.com\/knowledge-base\/article\/how-does-the-remove-background-feature-work\" rel=\"noopener\">Remove Background<\/a> feature introduced with Enable Media Replace v4.0, all you have to do is the following:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Edit your functions.php file. If you have never done this before, you should read this article: <a href=\"https:\/\/jetpack.com\/blog\/wordpress-functions-php\/#use_child\" target=\"_blank\" rel=\"noreferrer noopener\">How to Find, Access, and Edit functions.php in\u00a0WordPress (jetpack.com)<\/a><\/li>\n\n\n\n<li>Add this line to the end of the file: <code>add_filter('emr\/feature\/background', function () { return false; });<\/code>.<\/li>\n\n\n\n<li>Save the file.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>If you want to disable the Remove Background feature introduced with Enable Media Replace v4.0, all you have to do is the following:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[39],"glossaries":[],"doc_tag":[],"class_list":["post-940","docs","type-docs","status-publish","hentry","doc_category-enable-media-replace"],"blocksy_meta":[],"year_month":"2026-05","word_count":72,"total_views":"1847","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"admin","author_nicename":"admin_mdli53m5","author_url":"https:\/\/kb.shortpixel.com\/author\/admin_mdli53m5\/"},"doc_category_info":[{"term_name":"Enable Media Replace","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/enable-media-replace\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/comments?post=940"}],"version-history":[{"count":1,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/940\/revisions"}],"predecessor-version":[{"id":2029,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/940\/revisions\/2029"}],"wp:attachment":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/media?parent=940"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_category?post=940"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/glossaries?post=940"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_tag?post=940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}