Function create_function() is deprecated
-
Hi dears
I have notice this error after enabling debuggingFunction create_function() is deprecated
PHP Deprecated: Function create_function() is deprecated in /home/…../public_html/wp-content/plugins/wd-main-plugin/widgets/widget.php on line 65
How should I correct it? anybody can help me rewrite the code in new version PHP?
add_action(‘widgets_init’, create_function(”, ‘return register_widget(“wd_recent_post”);’));
Thank you very much
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Function create_function() is deprecated’ is closed to new replies.