Title: Plugin uses deprecated function ereg
Last modified: September 1, 2016

---

# Plugin uses deprecated function ereg

 *  [draperd](https://wordpress.org/support/users/draperd/)
 * (@draperd)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-uses-deprecated-function-ereg/)
 * This is a php issue but not everybody has options on which php they get to use.
   With php 7, the function ereg is removed and the plugin no longer works (it can’t
   show the arguments for a webhook). There’s already a topic on it in the support
   column.
 * [https://wordpress.org/plugins/hookpress/](https://wordpress.org/plugins/hookpress/)

Viewing 1 replies (of 1 total)

 *  [milleronic](https://wordpress.org/support/users/milleronic/)
 * (@milleronic)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/plugin-uses-deprecated-function-ereg/#post-8499035)
 * In includes.php and services.php, replace `ereg` with `preg_replace` and it should
   work.

Viewing 1 replies (of 1 total)

The topic ‘Plugin uses deprecated function ereg’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/hookpress_d3e7f8.svg)
 * [HookPress](https://wordpress.org/plugins/hookpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hookpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hookpress/)
 * [Active Topics](https://wordpress.org/support/plugin/hookpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hookpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hookpress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [milleronic](https://wordpress.org/support/users/milleronic/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/plugin-uses-deprecated-function-ereg/#post-8499035)
 * Status: not resolved