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_Reporting::get_output_widget_args( array $args = array() )
Retrieves arguments for {@see LifterLMS_Admin_Reporting::output_widget}.
Description Description
Merges the supplied arguments with the default args.
Parameters Parameters
- $args
-
(array) (Optional) Widget settings and data, LifterLMS_Adming_Reporting::output_widget.
Default value: array()
Return Return
(array) Merged arguments.
Source Source
File: includes/admin/reporting/class.llms.admin.reporting.php
private static function get_output_widget_args( $args = array() ) { return wp_parse_args( $args, array( 'id' => '', 'text' => '', 'data' => '', 'data_compare' => '', 'data_type' => 'numeric', // Enum: numeric, monetary, text, percentage, or date. 'icon' => '', 'impact' => 'positive', // Enum: positive or negative. 'cols' => 'd-1of2', ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.11.0 | Introduced. |