LLMS_Analytics_Widget::can_be_processed()
Whether or not the current widget can be processed/displayed.
Return Return
(true|WP_Error)
Source Source
File: includes/abstracts/abstract.llms.analytics.widget.php
public function can_be_processed() {
$widget_name = str_replace(
array( 'llms_analytics_', '_widget' ),
'',
strtolower( get_class( $this ) )
);
/**
* Whether or not the current widget can be processed/displayed.
*
* @param true|WP_Error True if the widget can be processed, `WP_Error` otherwise.
* @param string The widget name.
* @param LLMS_Analytics_Widget The instance extending `LLMS_Analytics_Widget`.
*/
return apply_filters(
'llms_can_analytics_widget_be_processed',
$this->_can_be_processed(),
$widget_name,
$this
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.3.0 | Introduced. |