protected function publish_status_filter_field()
{
// Add available statuses
$publish_statuses = apply_filters('apple_news_publish_statuses', array('' => __('Show All Statuses', 'apple-news'), 'published' => __('Published', 'apple-news'), 'not_published' => __('Not Published', 'apple-news'), 'pending' => __('Pending', 'apple-news'), 'deleted' => __('Deleted', 'apple-news')));
// Build the dropdown
?>
<select name="apple_news_publish_status" id="apple_news_publish_status">
<?php
foreach ($publish_statuses as $value => $label) {
printf('<option value="%s" %s>%s</option>', esc_attr($value), selected($value, $this->get_publish_status_filter(), false), esc_html($label));
}
?>
</select>
<?php
}