Title: Deprecated Polylang functions
Last modified: August 31, 2016

---

# Deprecated Polylang functions

 *  Resolved [paulyay](https://wordpress.org/support/users/paulyay/)
 * (@paulyay)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/deprecated-polylang-functions/)
 * $polylang->model->get_post_language() is called in includes/class-metaboxes.php
   and also in the translate-rewrite-slugs library includes/libraries/translate-
   rewrite-slugs.php
 * Suggested to use PLL()->model->post->get_language() instead. There is a pull 
   request here for the library [https://github.com/KLicheR/wp-polylang-translate-rewrite-slugs/pull/35](https://github.com/KLicheR/wp-polylang-translate-rewrite-slugs/pull/35)
 * Thanks.
 * [https://wordpress.org/plugins/events-maker/](https://wordpress.org/plugins/events-maker/)

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

 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/deprecated-polylang-functions/#post-7119881)
 * Thx,
 * We’re going to fix all that in the upcoming EM release.
 * Bartosz / dfactory team
 *  Thread Starter [paulyay](https://wordpress.org/support/users/paulyay/)
 * (@paulyay)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/deprecated-polylang-functions/#post-7119929)
 * Great, thanks!

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

The topic ‘Deprecated Polylang functions’ is closed to new replies.

 * ![](https://ps.w.org/events-maker/assets/icon-256x256.png?rev=1574084)
 * [Events Maker by dFactory](https://wordpress.org/plugins/events-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/events-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-maker/reviews/)

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)

 * 2 replies
 * 2 participants
 * Last reply from: [paulyay](https://wordpress.org/support/users/paulyay/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/deprecated-polylang-functions/#post-7119929)
 * Status: resolved