35 votes

Allow PHP in Hooked Elements

It would be great if the CODE type of hooked element allows and parses PHP.
Sridhar Katakam shared this idea

One Comment

  1. I’ve been considering this, Gutenberg doesn’t want to let it happen. So I’m considering some other options, for example, a separate addon that worked like the code snippets plugin. Or a meta box and hiding the block editor if PHP is the desired code. Or hacking into the rest api to allow php to be saved through gutenberg.

Leave a Reply