LLMS_Admin_Table::get_filter_placeholder( string $column_id, $column_data )
Get the text for the default/placeholder for a filterable column.
Parameters Parameters
- $column_id
-
(string) (Required) id of the column
Return Return
(string)
Source Source
File: includes/abstracts/abstract.llms.admin.table.php
public function get_filter_placeholder( $column_id, $column_data ) { $placeholder = __( 'Any', 'lifterlms' ); if ( is_array( $column_data ) && isset( $column_data['title'] ) ) { $placeholder = sprintf( __( 'Any %s', 'lifterlms' ), $column_data['title'] ); } elseif ( is_strinp( $column_data ) ) { $placeholder = sprintf( __( 'Any %s', 'lifterlms' ), $column_data ); } return apply_filters( 'llms_table_get_' . $this->id . '_filter_placeholder', $placeholder, $column_id ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |