protected function extra_tablenav($which)
{
// Only display on the top of the table
if ('top' != $which) {
return;
}
?>
<div class="alignleft actions">
<?php
// Add a publish state filter
$this->publish_status_filter_field();
// Add a dange range filter
$this->date_range_filter_field();
// Allow for further options to be added within themes and plugins
do_action('apple_news_extra_tablenav');
submit_button(__('Filter', 'apple-news'), 'button', 'filter_action', false, array('id' => 'post-query-submit'));
?>
</div>
<?php
}