public/wordpress/wp-content/plugins/wp-courseware/includes/admin/tables/table-subscriptions.php
/**
	 * Extra controls to be displayed between bulk actions and pagination.
	 *
	 * @since 4.3.0
	 *
	 * @param string $which Which tablenav.
	 */
Extra controls to be displayed between bulk actions and pagination.

@param string $which Which tablenav.
Extra controls to be displayed between bulk actions and pagination . @param string $which Which tablenav .
protected function extra_tablenav( $which ) {
		if ( 'top' !== $which ) {
			return;
		}
		?>
		<div class="alignleft actions"><?php
		ob_start();
		$this->subscription_statuses_dropdown();
		$output = ob_get_clean();
		if ( ! empty( $output ) ) {
			echo $output;
			printf( '<button class="button" id="subscriptions-query-submit" name="filter_action" value="filter-subscriptions-by-status" type="submit"><i class="wpcw-fa wpcw-fa-filter" aria-hidden="true"></i> %s</button>', esc_html__( 'Filter', 'wp-courseware' ) );
			printf( '<a class="button tablenav-button" href="%s"><i class="wpcw-fas wpcw-fa-retweet"></i> %s</a>', $this->page->get_url(), esc_html__( 'Reset', 'wp-courseware' ) );
		}
		?></div><?php
	}
protected function extra_tablenav ( $ which ) { if ( 'top' !== $ which ) { return ; } ?> <div class="alignleft actions"> <?php ob_start ( ) ; $ this -> subscription_statuses_dropdown ( ) ; $ output = ob_get_clean ( ) ; if ( ! empty ( $ output ) ) { echo $ output ; printf ( '<button class="button" id="subscriptions-query-submit" name="filter_action" value="filter-subscriptions-by-status" type="submit"><i class="wpcw-fa wpcw-fa-filter" aria-hidden="true"></i> %s</button>' , esc_html__ ( 'Filter' , 'wp-courseware' ) ) ; printf ( '<a class="button tablenav-button" href="%s"><i class="wpcw-fas wpcw-fa-retweet"></i> %s</a>' , $ this -> page -> get_url ( ) , esc_html__ ( 'Reset' , 'wp-courseware' ) ) ; } ?> </div> <?php }
Extra controls to be displayed between bulk actions and pagination.
Extra controls to be displayed between bulk actions and pagination .