WPCode only saves HTML snippet (no PHP possible)
-
Hello,
I just installed the plugin WPCode and wanted to test the PHP snippet function. I create a new snippet, chose code type “PHP snippet”, add<?php
echo “Hello World”;
?>Then I save it and the plugin shows as code type “HTML snippet” and removes the “<?php” from the Code Preview window.
Does my installation not allow to use PHP snippets? Is there any hidden setting I have to activate to be able to save PHP snippets?
WP 6.0.3
WPCode 2.0.3Also, the pre-installed code snippet “Completely Disable Comments” shows as HTML snippet. But the code in this snippet looks more like PHP.
The topic ‘WPCode only saves HTML snippet (no PHP possible)’ is closed to new replies.