Title: good example to learn about plugin development
Last modified: October 30, 2018

---

# good example to learn about plugin development

 *  [arminz1](https://wordpress.org/support/users/arminz1/)
 * (@arminz1)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/good-example-to-learn-about-plugin-development/)
 * This example helped me a lot with the basics of plugin/widget development. The
   times for sunset/sunrise etc. are retrieved by calling a web service. I later
   found out that (depending on the php version available) the data can be calculated
   using the built-in function **date_sun_info** i.e. without the need to call an
   external web service. Implementing the aforementioned date_sun_info instead of
   the web service is simple.

The topic ‘good example to learn about plugin development’ is closed to new replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [arminz1](https://wordpress.org/support/users/arminz1/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/good-example-to-learn-about-plugin-development/)