LLMS_Admin_Table::clean_args( array $args = array() )
Ensure that a valid array of data is passed to a query.
Description Description
Used by AJAX methods to clean unnecessary parameters before passing the request data to the get_results function.
Parameters Parameters
- $args
-
(array) (Optional) array of arguments
Default value: array()
Return Return
(array)
Source Source
File: includes/abstracts/abstract.llms.admin.table.php
if ( ! in_array( $key, $allowed ) ) { unset( $args[ $key ] ); } } return $args; } /** * Ensures that all data requested by $this->get_data is filterable * before being output on screen / in the export file. *
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |