Title: Functions for PHP usage missing in 1.7.0?
Last modified: August 22, 2016

---

# Functions for PHP usage missing in 1.7.0?

 *  Resolved [captaincrash](https://wordpress.org/support/users/captaincrash/)
 * (@captaincrash)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/functions-for-php-usage-missing-in-170/)
 * Hello,
 * it seems that as of version 1.7.0 the functions for PHP usage are missing because
   of the major plugin rewrite into a class?
 * I’m using simpleYearlyArchive(); in a template file. My fallback solution echoes
   the standard WP archive, so I investigated the plugin and there is no function
   simpleYearlyArchive().
 * Am I supposed to use echo do_shortcode…, because on the plugin homepage the PHP
   usage is still documented? Or have I missed something?
 * Best regards
 * [https://wordpress.org/plugins/simple-yearly-archive/](https://wordpress.org/plugins/simple-yearly-archive/)

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

 *  [morgrowe](https://wordpress.org/support/users/morgrowe/)
 * (@morgrowe)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/functions-for-php-usage-missing-in-170/#post-5186666)
 * Hi,
 * Just wanted to say I’m having the exact same issue.
 * I updated from WordPress 3.9.1 to 3.9.2, and updated a couple of plugins at the
   same time, including Simple Yearly Archive (SYA).
 * Most of them seem to be working properly except SYA. I’ve tried deactivating 
   and reactivating the plugin, but that doesn’t help.
 * Kind regards,
    Morgan
 *  [morgrowe](https://wordpress.org/support/users/morgrowe/)
 * (@morgrowe)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/functions-for-php-usage-missing-in-170/#post-5186669)
 * Not sure if this helps, but if I do:
 * `if (function_exists('simpleYearlyArchive')) { echo "active"; } else { echo "
   inactive"; }`
 * I get the “inactive” response.
 *  Thread Starter [captaincrash](https://wordpress.org/support/users/captaincrash/)
 * (@captaincrash)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/functions-for-php-usage-missing-in-170/#post-5186672)
 * Exactly, the function is undefined. The question is whether this is intentionally,
   was forgotten during the obvious plugin rewrite or one should use a different
   call (the `display` method?) in plain PHP?
 *  Plugin Author [wpseek](https://wordpress.org/support/users/alphawolf/)
 * (@alphawolf)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/functions-for-php-usage-missing-in-170/#post-5186681)
 * Holy shmoly, sorry guys! 🙂 Just released 1.7.0.1 that fixes this issue!
 *  [morgrowe](https://wordpress.org/support/users/morgrowe/)
 * (@morgrowe)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/functions-for-php-usage-missing-in-170/#post-5186682)
 * Great, updating to 1.7.0.1 fixed the issue! Thank you!
 *  Thread Starter [captaincrash](https://wordpress.org/support/users/captaincrash/)
 * (@captaincrash)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/functions-for-php-usage-missing-in-170/#post-5186683)
 * Thank you.

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

The topic ‘Functions for PHP usage missing in 1.7.0?’ is closed to new replies.

 * ![](https://ps.w.org/simple-yearly-archive/assets/icon-256x256.png?rev=1162212)
 * [Simple Yearly Archive](https://wordpress.org/plugins/simple-yearly-archive/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-yearly-archive/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-yearly-archive/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-yearly-archive/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-yearly-archive/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-yearly-archive/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [captaincrash](https://wordpress.org/support/users/captaincrash/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/functions-for-php-usage-missing-in-170/#post-5186683)
 * Status: resolved