Title: Function create_function() is deprecated
Last modified: May 2, 2018

---

# Function create_function() is deprecated

 *  Resolved [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-4/)
 * Deprecated: Function create_function() is deprecated in /wp-content/plugins/woo-
   poly-integration/vendor/class.settings-api.php on line 108

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [jomo](https://wordpress.org/support/users/jonathanmoorebcsorg/)
 * (@jonathanmoorebcsorg)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-4/#post-10240334)
 * this is a known issue, if you would like to follow it or add your voice, please
   see:
    [https://github.com/hyyan/woo-poly-integration/issues/311](https://github.com/hyyan/woo-poly-integration/issues/311)
 *  Thread Starter [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-4/#post-10241054)
 * Okidoki!
    An anonymous functions sounds good. Please keep in mind that this is
   PHP 5.3+. Not an issue for me but WP still stubbornly supports PHP 5.2 I’ll mark
   this issue as resolved! Thanks, Jory
 *  Plugin Contributor [jomo](https://wordpress.org/support/users/jonathanmoorebcsorg/)
 * (@jonathanmoorebcsorg)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-4/#post-10241071)
 * Please note that the recommended PHP version for WooCommerce is PHP7.
    [https://docs.woocommerce.com/document/server-requirements/](https://docs.woocommerce.com/document/server-requirements/)
 * In WooCommerce 3.4 the recommended PHP version will be bumped to PHP7.2
    [https://woocommerce.wordpress.com/tag/woocommerce-3-4/](https://woocommerce.wordpress.com/tag/woocommerce-3-4/)
 * Function create_function() is deprecated in PHP7.2 hence the issue is active 
   on githum.
 *  Thread Starter [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-4/#post-10242136)
 * Hi [@jonathanmoorebcsorg](https://wordpress.org/support/users/jonathanmoorebcsorg/),
 * Correct but even WooCommerce still supports 5.2 (even though they don’t recommend
   it).
    WordPress also recommends 7.x but still maintains support for 5.2. There
   is a whole discussion going with developers voting to fully drop support for 
   5.2 in WP core.
 * Again, doesn’t matter to me as I’m running 7.x for all my clients and I think
   for nearly all users a minimum of 5.3 is fine.
 *  Plugin Contributor [jomo](https://wordpress.org/support/users/jonathanmoorebcsorg/)
 * (@jonathanmoorebcsorg)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-4/#post-10242309)
 * Sure – the error reported on this thread only occurs with 7.2 and is being addressed
   on the github ticket mentioned, please follow there if you would like to contribute

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Function create_function() is deprecated’ is closed to new replies.

 * ![](https://ps.w.org/woo-poly-integration/assets/icon-128x128.png?rev=1139686)
 * [Hyyan WooCommerce Polylang Integration](https://wordpress.org/plugins/woo-poly-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-poly-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-poly-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-poly-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-poly-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-poly-integration/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [jomo](https://wordpress.org/support/users/jonathanmoorebcsorg/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/function-create_function-is-deprecated-4/#post-10242309)
 * Status: resolved