Example #1
0
 function pre_option_page_for_posts()
 {
     global $switched;
     $pre_option_page = new WPML_Pre_Option_Page($this->wpdb, $this, $switched, $this->this_lang);
     return $pre_option_page->get('page_for_posts');
 }
Example #2
0
 function fix_trashed_front_or_posts_page_settings($post_id)
 {
     global $switched;
     $pre_option_page_current = new WPML_Pre_Option_Page($this->wpdb, $this, $switched, $this->this_lang);
     $pre_option_page_current->fix_trashed_front_or_posts_page_settings($post_id);
 }