public function render(WP_Post $post)
{
$id = 'mlp-trasher';
?>
<div class="misc-pub-section misc-pub-mlp-trasher">
<?php
echo \Inpsyde\MultilingualPress\nonce_field($this->nonce);
?>
<label for="<?php
echo esc_attr($id);
?>
">
<input type="checkbox" name="<?php
echo esc_attr(TrasherSettingRepository::META_KEY);
?>
"
value="1" id="<?php
echo esc_attr($id);
?>
"
<?php
checked($this->setting_repository->get($post->ID));
?>
>
<?php
_e('Send all the translations to trash when this post is trashed.', 'multilingual-press');
?>
</label>
</div>
<?php
}