__('Revue', 'carhop'), 'articles' => __('Article', 'carhop'), ); $type = $current_post_type_obj->labels->singular_name ?? $dynamiques_post_type_labels[$current_post_type] ?? null; } else if ($current_post_type_supports_type) { // $type = isset($types_terms[0]) ? $types_terms[0] : null; $type_term = get_post_specific_type_terms($current_post_id)[0] ?? null; if ($type_term) { $type = $type_term->name; } } else { $current_post_type_obj = get_post_type_object($current_post_type); $type = $current_post_type_obj->labels->singular_name ?? null; } ?>

Numéro