Title: Update to modern class constructor
Last modified: June 15, 2017

---

# Update to modern class constructor

 *  [deltafactory](https://wordpress.org/support/users/deltafactory/)
 * (@deltafactory)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/update-to-modern-class-constructor/)
 * Would it be possible to update the class definition for the widget to use the
   modern (5.x+) constructor, `function __construct() {}`?
 * It would be helpful to future-proof your code for those of us using PHP 7 and
   beyond when the old constructor will be deprecated.
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Author [RadiusTheme](https://wordpress.org/support/users/techlabpro1/)
 * (@techlabpro1)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/update-to-modern-class-constructor/#post-9233410)
 * Hello,
 * Thanks for your notification. Yes sir we will update it soon.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Update to modern class constructor’ is closed to new replies.

 * ![](https://ps.w.org/wp-logo-showcase/assets/icon-256x256.png?rev=2221580)
 * [Logo Slider and Showcase](https://wordpress.org/plugins/wp-logo-showcase/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-logo-showcase/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-logo-showcase/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-logo-showcase/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-logo-showcase/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-logo-showcase/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [RadiusTheme](https://wordpress.org/support/users/techlabpro1/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/update-to-modern-class-constructor/#post-9233410)
 * Status: not a support question