Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Admin_Table::is_col_visible( [type] $data, string $context = 'display' )
Determine if a column is visible based on the current context.
Parameters Parameters
- $data
-
([type]) (Required) array of a single column's data from set_columns()
- $context
-
(string) (Optional) context [display|export]
Default value: 'display'
Return Return
(bool)
Source Source
File: includes/abstracts/abstract.llms.admin.table.php
<td class="<?php echo $id; ?>"><?php echo $this->get_data( $id, $row ); ?></td> <?php endforeach; ?> </tr> <?php /** * Fired after a table `<tr>`. * * @since 3.21.0 * * @param string $row Array/object of data describing a single row in the table. * @param LLMS_Admin_Table $table_object Instance of the class extending `LLMS_Admin_Table`. */ do_action( 'llms_table_after_tr', $row, $this ); return ob_get_clean();
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.15.0 | Introduced. |