=== Insert PHP Code Snippet ===
Contributors: f1logic
Donate link: http://xyzscripts.com/donate/
Tags: insert PHP, add PHP, insert PHP code, insert PHP tag, insert PHP snippet, insert PHP code snippet , insert PHP snippet, add PHP code, insert PHP tag, add PHP snippet, add PHP code snippet, integrate PHP codes, raw PHP, embed PHP, PHP inserter, PHP code inserter, PHP snippet inserter
Requires at least: 5
Tested up to: 6.8.3
Stable tag: 1.4.4
License: GPLv2 or later

Add PHP code to your pages and posts easily using shortcodes.

== Description ==

A quicklook into Insert PHP Code Snippet

	★ Convert PHP snippets to shortcodes
	★ Insert PHP code easily using shortcode
	★ Support for PHP snippet shortcodes in widgets
	★ Dropdown menu in TinyMCE editor to pick snippet shortcodes easily

= Features in Detail =

Insert PHP Code Snippet allows you to create shortcodes corresponding to PHP code snippets. You can create a shortcode corresponding to any random PHP code such as ad codes, login validation etc. and use the same in your posts, pages or widgets.

The shortcodes generated using the plugin are easily available as a dropdown in the standard wordpress content editor as well as in widget settings, thereby giving you ease of integrating your PHP snippets with your posts and pages.

= About =

Insert PHP Code Snippet is developed and maintained by [XYZScripts](http://xyzscripts.com/ "xyzscripts.com"). For any support, you may [contact us](http://xyzscripts.com/support/ "XYZScripts Support").

★ [Insert PHP Code Snippet User Guide](http://help.xyzscripts.com/docs/insert-php-code-snippet/user-guide)
★ [Insert PHP Code Snippet FAQ](http://help.xyzscripts.com/docs/insert-php-code-snippet/faq/)

== Installation ==

★ [Insert PHP Code Snippet User Guide](http://help.xyzscripts.com/docs/insert-php-code-snippet/user-guide)
★ [Insert PHP Code Snippet FAQ](http://help.xyzscripts.com/docs/insert-php-code-snippet/faq/)

1. Extract `insert-php-code-snippet.zip` to your `/wp-content/plugins/` directory.
2. In the admin panel under plugins activate Insert PHP Code Snippet.

If you need any further help, you may contact our [support desk](http://xyzscripts.com/support/ "XYZScripts Support").

== Frequently Asked Questions ==

★ [Insert PHP Code Snippet User Guide](http://help.xyzscripts.com/docs/insert-php-code-snippet/user-guide)
★ [Insert PHP Code Snippet FAQ](http://help.xyzscripts.com/docs/insert-php-code-snippet/faq/)

= 1. The Insert PHP Code Snippet is not working properly. =

Please check the wordpress version you are using. Make sure it meets the minimum version recommended by us. Make sure all files of the `insert php code snippet` plugin uploaded to the folder `wp-content/plugins/`

= 2. I have 2 PHP shortcodes placed adjacently, but only one of them works. =

Please use a whitespace to separate 2 shortcodes.

More questions ? [Drop a mail](http://xyzscripts.com/members/support/ "XYZScripts Support") and we shall get back to you with the answers.


== Screenshots ==

1. This is the shortcode generator page
2. This is page where you can manage all your snippets
3. The shortcodes are easily accessible in the content editor


== Changelog ==

= 1.4.4 =
* Added snippet description field
* Fixed a security issue
* Minor bug fixes and compatibility updates
* CSS & JS files now versioned to fix caching

= 1.4.3 =
* Added a warning note that plugin data will be lost if the plugin is deleted
* Updated redirects to use wp_safe_redirect() for improved security
* Updated a few SQL queries to follow secure practices 

= 1.4.2 =
* Added version check to trigger DB updates and clear cache on updates
* Minor bug fixes and performance improvements

= 1.4.1 =
* Fixed image size issue reported 
* Updated snippet dropdown in editor to allow only shortcodes in Manual Placement mode
* Fixed minor bugs and optimized performance

= 1.4 =
* Added new Snippet Placement Methods: Automatic, Execute on Demand, and Shortcode (Manual) for more flexible snippet placement options.
* Added Snippet Placement filter on the Manage Snippets page
* Improved compatibility with the latest WordPress versions
* Fixed minor bugs and optimized performance.

= 1.3.8 =
* Added "Execute shortcodes in editors" setting for Elementor and other editor compatibility
* Updated about page with new premium feature details, including automatic placement locations

= 1.3.7 =
* Updated nonce verification for bulk actions to prevent CSRF attacks
* Compatibility with WordPress 6.6.1

= 1.3.6 =
* Exception handling updated
* Minor bugs fixed

= 1.3.5 =
* Patch security vulnerability
* Compatibility with latest version of WordPress

= 1.3.4 =
* Minor bugs fixed
* Compatibility with latest version of WordPress

= 1.3.3 =
* Minor bugs fixed
* Option to send exception report to email

= 1.3.2 =
* Option to enable exception handling
* Option to preview snippet
* Database collation issue fixed
* Minor bugs fixed

= 1.3.1 =
* Notice errors fixed

= 1.3 =
* Snippet selection support in classic editor block of Gutenberg
* Support for Search Snippet by name
* Navigation Improvements

= 1.2.6 =
* Support for Bulk Actions(activate,deactivate,delete)

= 1.2.5 =
* Added fix for output buffering issue

= 1.2.4 =
* Removed deprecated widget initializing function

= 1.2.3 =
* Option to enable auto insert of php opening tags added.

= 1.2.2 =
* Automatic detection and correction of php opening and closing tags in snippet
* Updated nonces and validations
* Premium version details and comparison added

= 1.2.1 =
* Nonces Added
* A few bug fixes

= 1.2 =
* Compatibility with wordpress 4.3
* Added options to sort snippets in admin area by id and title
* Removed redirection after snippet edit

= 1.1 =
* Snippet chooser TinyMCE plugin modified
* Compatibility with wordpress 3.9
* A few bug fixes

= 1.0 =
* First official launch

== Upgrade Notice ==


== More Information ==

★ [Insert PHP Code Snippet User Guide](http://help.xyzscripts.com/docs/insert-php-code-snippet/user-guide)
★ [Insert PHP Code Snippet FAQ](http://help.xyzscripts.com/docs/insert-php-code-snippet/faq/)

= Troubleshooting =

Please read the FAQ first if you are having problems.

= Requirements =

    WordPress 5.0+
    PHP 7+

= Feedback =

We would like to receive your feedback and suggestions. You may submit them at our [support desk](http://xyzscripts.com/members/support/ "XYZScripts Support").
