Description of the new plugin version 2.x.x.
PHP code snippets is version of Insert Php plugin.
Still, we recommend you to use the inside special snippets visible and available to administrators only..
Snippet is small piece of php code helping to extend your WordPress capabilities.
However, you should know that placing the code to function php is not the option, and there is better and cleaner way to add snippets through the PHP code snippets plugin..
You should add your code to the editor, comment it and save the snippet.
The PHP code runs as the page is sent to the browser.
Output of the PHP code is published onto the post or page where the PHP code between the special tags is located..
The code between the tags must be complete in and of itself.
References to variables or code blocks outside the area between the tags will fail.
Read more