public function display_tablenav($which) { $screen = get_current_screen(); if ($screen->id != 'wc_crm_accounts') { parent::display_tablenav($which); } }
/** * Generate the table navigation above or below the table */ public function display_tablenav($which) { if ('top' == $which) { return; } parent::display_tablenav($which); }
/** * Don't need this. */ public function display_tablenav($position) { if ($position != 'top') { parent::display_tablenav($position); } }
/** * Generate the table navigation above or below the table * * @since 1.2 */ function display_tablenav($which) { if ('top' == $which) { ?> <input type="hidden" name="page" value="<?php echo $_REQUEST['page']; ?> " /> <?php if (isset($_REQUEST['status'])) { ?> <input type="hidden" name="status" value="<?php echo $_REQUEST['status']; ?> " /> <?php } } parent::display_tablenav($which); }
protected function display_tablenav($which) { if ($this->display_nav) { parent::display_tablenav($which); } }
public function display_tablenav($which) { if ('top' == $which) { $_SERVER['REQUEST_URI'] = $this->wp->removeQueryArgument('_wp_http_referer', $_SERVER['REQUEST_URI']); } parent::display_tablenav($which); }
/** * Generate the table navigation above or below the table * * @since 3.1.0 * @access protected * * @param string $which */ protected function display_tablenav($which) { /** * Custom nonce */ if ('top' == $which) { echo '<input type="hidden" name="nonce" value="' . $this->nonce . '">'; } parent::display_tablenav(FALSE); }
function display_tablenav($which) { if ('bottom' != $which) { parent::display_tablenav($which); } }
function display_tablenav( $which ) { global $status; if ( !in_array( $status, array( 'mustuse', 'dropins' ) ) ) parent::display_tablenav( $which ); }
function display_tablenav($which) { parent::display_tablenav($which); }