Delete the line that contains specific word
-
Hello, Im using premium version of your plugin.
Please can You help me write PHP function which deletes the line from description field that contains specific word. I need to remove (from descriprtion field) the line containing the picture. So I need simple function which will look for “<img” text and than it will delete whole line where “<img” text appears.
Is that possible please?
Thank You.Example of descritpion:
description text description text description text description text <img src="/uploads/5/products/7b010876d856c916b87ad0b9378a4f64.jpg" /> description text description text description text
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Delete the line that contains specific word’ is closed to new replies.