What are the advantages/disadvantages of using jQuery DOM manipulation as opposed to PHP DOM manipulation?
Question
I’m working on a plugin that takes $content for a post and alters some of the HTML. Seems there are two common ways to accomplish this in WordPress – using jQuery or using PHP’s DOMDocument. I’m wondering what the advantages/disadvantages of one over the other are?
0
content, javascript, jquery, php, the-content
4 years
2019-11-03T08:47:41-05:00
2019-11-03T08:47:41-05:00 0 Answers
85 views
0
Leave an answer