Moved from post Polylang check into _ptb_get_page_type_meta_value