Title: digidev's Replies | WordPress.org

---

# digidev

  [  ](https://wordpress.org/support/users/digidev/)

 *   [Profile](https://wordpress.org/support/users/digidev/)
 *   [Topics Started](https://wordpress.org/support/users/digidev/topics/)
 *   [Replies Created](https://wordpress.org/support/users/digidev/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/digidev/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/digidev/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/digidev/engagements/)
 *   [Favorites](https://wordpress.org/support/users/digidev/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Multisite: wp_network_term_taxonomy table – posts don’t have ‘language’ taxonomy](https://wordpress.org/support/topic/multisite-wp_network_term_taxonomy-table-posts-dont-have-language-taxonomy/)
 *  Thread Starter [digidev](https://wordpress.org/support/users/digidev/)
 * (@digidev)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/multisite-wp_network_term_taxonomy-table-posts-dont-have-language-taxonomy/#post-8742389)
 * We found the issue: Post Indexer plugin needed an update, to work properly with
   updated wordpress version (and polylang perhaps..). That’s it!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Polylang : force language before page load based](https://wordpress.org/support/topic/polylang-force-language-before-page-load-based/)
 *  Thread Starter [digidev](https://wordpress.org/support/users/digidev/)
 * (@digidev)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/polylang-force-language-before-page-load-based/#post-8157847)
 * Ok, we got this solved using this part of code (found when backtracking polylang
   code):
 *     ```
       $lang_code = 'en'; // this way we force en for instance (here you can pass data from user's registration for example)
       global $polylang;
       $mo = new PLL_MO();
       $mo->import_from_db( $polylang->model->get_language( $lang_code ) );
       $GLOBALS['l10n']['pll_string'] = &$mo;
       $polylang->curlang = $polylang->model->get_language($lang_code); 
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ACF to REST API] Create custom post type](https://wordpress.org/support/topic/create-custom-post-type/)
 *  Thread Starter [digidev](https://wordpress.org/support/users/digidev/)
 * (@digidev)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/create-custom-post-type/#post-7414778)
 * Thanks, I figured it out already 🙂 You dont even need acf REST here, you can
   do it using normal wp/v2/your_post_type_here.

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