2020-05-01 / 4902阅 / 悠然
Search>
Any [ or ] characters remaining inside elements will be HTML encoded to prevent interference with shortcodes that are outside the elements. Assumes $content processed by KSES already. Users with unfiltered_html capability may get unexpected output if angle braces are nested in tags.
(string)
(Required)
Content to search for shortcodes
(bool)
(Required)
When true, all square braces inside elements will be encoded.
(array)
(Required)
List of shortcodes to find.
(string) Content with shortcodes filtered out.