Get the ID of the default language equivalent page in Polylang [closed]

you can retrieve this identifier with that code :

$defaultLanguage = pll_default_language();

$translations = pll_get_post_translations($post_ID);

$id = $translations[$defaultLanguage];

tech