Unwanted text appeared in CMS
-
I am using a plugin on Woocommerce which allows me to add Brands. I was trying to hide the brand on the product screen similar to what I have dome with Category and SKU. The code I used (which didnt work) now shows up at the top of the CMS on every page and seems to be causing problems when I am trying to upload products using CSV Import….
When on WordPress CMS and right click – view source, i see at the top…
add_filter( 'pwb-single-product-brands', _'return_false')<!DOCTYPE html>
<!--[if IE 8]>
<html xmlns="https://www.w3.org/1999/xhtml" class="ie8 wp-toolbar" lang="en-US">
<![endif]-->
<!--[if !(IE 8) ]><!-->
<html xmlns="https://www.w3.org/1999/xhtml" class="wp-toolbar" lang="en-US">
<!--<![endif]-->
<head>
Can someone help me get rid of the add_filter( 'pwb-single-product-brands', _'return_false')at the start I have no idea which php script to look at thanks in advance
I have an image but not sure how to uploade
on the top left corner of CMS (on every page) it says – add_filter( ‘pwb-single-product-brands’, _’return_false’)
I would love it if someone could give me an idea as to what php script it may be in to be showing here
https://stackoverflow.com/questions/45028692/remove-code-from-wordpress-cms-script/45028741#45028741
posted question on stackoverflow which shows picture
- The topic ‘Unwanted text appeared in CMS’ is closed to new replies.