Title: [Feature Request]
Last modified: August 30, 2016

---

# [Feature Request]

 *  [Kreezxil](https://wordpress.org/support/users/itscoolreally/)
 * (@itscoolreally)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/feature-request-333/)
 * Can you add an option that would allow us to pass variables to our snippets?
   
   For instance I have several snippets that are identical except for one small 
   detail. This way I can reuse common code and pass just the parameter.
 * example of idea:
    `[xyz-ips snippet="license" param="MIT"]`
 * then param might be available to me as $_PARAM-XYZ perhaps or whatever you decide.
 * [https://wordpress.org/plugins/insert-php-code-snippet/](https://wordpress.org/plugins/insert-php-code-snippet/)

Viewing 1 replies (of 1 total)

 *  [xyzscripts](https://wordpress.org/support/users/xyzscripts/)
 * (@xyzscripts)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/feature-request-333/#post-6204939)
 * Sorry.we shall be updating soon.

Viewing 1 replies (of 1 total)

The topic ‘[Feature Request]’ is closed to new replies.

 * ![](https://ps.w.org/insert-php-code-snippet/assets/icon-128x128.png?rev=1800967)
 * [Insert PHP Code Snippet](https://wordpress.org/plugins/insert-php-code-snippet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php-code-snippet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php-code-snippet/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php-code-snippet/reviews/)

## Tags

 * [parameters](https://wordpress.org/support/topic-tag/parameters/)

 * 1 reply
 * 2 participants
 * Last reply from: [xyzscripts](https://wordpress.org/support/users/xyzscripts/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/feature-request-333/#post-6204939)
 * Status: not resolved