flag; // phpcs:ignore WordPress.Security.EscapeOutput ?>name ); ?> |
model->post->get_translation( $post_ID, $language ) ) && $translation_id !== $post_ID ) {
// The translation exists
printf(
'',
esc_attr( $language->slug ),
esc_attr( $translation_id )
);
echo $this->links->edit_post_translation_link( $translation_id ); // phpcs:ignore WordPress.Security.EscapeOutput
} else {
// No translation
echo $this->links->new_post_translation_link( $post_ID, $language ); // phpcs:ignore WordPress.Security.EscapeOutput
}
?>
|