I would like to know what happens if I enter some php code. Does the syntax get highlighted by default in WordPress? Is it going to be stripped out? Will it be forbidden? Let me just type “echo ‘Hello World!’” and see what happens:
<?php echo ‘Hello World’; ?>
I expect this to show up just as I typed it, nothing special.
Now let me type it into the html editor, and see what I get then:
(You see nothing here, but on the backend, in the editor there is a hidden html comment that contains the php code. On the front-end, without the editor, the comment gets stripped out completely) (meer…)
Photo courtesy: 


