The function of replacing the text in square brackets does not work
-
Hello! Great plug-in.
I need to replace a portion of the text enclosed in square brackets
[vc_column"]price
I tried to do as I found in the answers:
<? php function corrige_referencia ($ref) { return str_replace ("[vc_column]", "", $ref); } ?>
But such a construction does not work when exporting to xml.
This can work if there are no square brackets [word]. What can I do to remove the square brackets and what is in them?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘The function of replacing the text in square brackets does not work’ is closed to new replies.