LLMS_Admin_Table::get_tfoot_html()
Get a tfoot element for the table.
Return Return
(string)
Source Source
File: includes/abstracts/abstract.llms.admin.table.php
* @param string $text Text to be used as the placeholder in a searchable tables search input.
*/
return apply_filters( "llms_table_get_{$this->id}_search_placeholder", __( 'Search', 'lifterlms' ) );
}
/**
* Get the HTML for the table's title.
*
* @since 3.2.0
* @since 3.15.0 Unknown.
*
* @return string
*/
public function get_table_title_html() {
$title = $this->get_title();
if ( $title ) {
return '<h2 class="llms-table-title">' . $title . '</h2>';
} else {
return '';
}
}
/**
* Get `$this->tbody_data` array.
* @since 3.2.0
* @since 3.15.0 Fix filter name.
*
* @return array
*/
public function get_tbody_data() {
/**
* Filters the array of tbody data.
*
* The dynamic portion of this filter `{$this->id}` refers to the unique ID for the table.
*
* @since 3.15.0
*
* @param array $tbody_data Array of data that will be used to create the table body.
*/
return apply_filters( "llms_table_get_{$this->id}_tbody_data", $this->tbody_data );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.2.0 | Introduced. |