Home / APIs / ActionScheduler_Abstract_ListTable::display_table() – Renders the table list, we override the original class to render the table inside a form and to render any needed HTML (like the search box). By doing so the callee of a function can simple forget about any extra HTML.

You appear to be a bot. Output may be restricted

Description

Renders the table list, we override the original class to render the table inside a form and to render any needed HTML (like the search box). By doing so the callee of a function can simple forget about any extra HTML.

Usage

ActionScheduler_Abstract_ListTable::display_table();

Parameters

Returns

void

Source

File name: woocommerce/includes/libraries/action-scheduler/classes/ActionScheduler_Abstract_ListTable.php
Lines: 1 to 14 of 14

  protected function display_table() {
    echo '<form id="' . esc_attr( $this->_args['plural'] ) . '-filter" method="get">';
    foreach ( $_GET as $key => $value ) {
      if ( '_' === $key[0] || 'paged' === $key ) {
        continue;
      }
      echo '<input type="hidden" name="' . esc_attr( $key ) . '" value="' . esc_attr( $value ) . '" />';
    }
    if ( ! empty( $this->search_by ) ) {
      echo $this->search_box( $this->get_search_box_button_text(), 'plugin' ); // WPCS: XSS OK
    }
    parent::display();
    echo '</form>';
  }
 

 View on GitHub View on Trac

Published: 9th December 2018 | Last updated: 9th December 2018

Information

Function name: ActionScheduler_Abstract_ListTable::display_table
Class ref: ActionScheduler_Abstract_ListTable
Plugin ref: WooCommerce
Version: 3.6.0-dev
Sourcefile: includes/libraries/action-scheduler/classes/ActionScheduler_Abstract_ListTable.php
File ref: includes/libraries/action-scheduler/classes/ActionScheduler_Abstract_ListTable.php
Deprecated?: No
API Letters: A,D,L,T

  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Files
  • Hooks
  • Classes
  • Sites
  • Sitemap
  • Blog
WooCommerce a2z WooCommerce a2z
WooCommerce

Site:  woocommerce.wp-a2z.org
© Copyright WooCommerce a2z 2014-2019. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins