Widget
Class: A dashboard widget base class.
@package: LearnDash / Core
Source Files: src/Core/Template/Dashboards/Widgets/Widget.php
Class: A dashboard widget base class.
Method: Renders a widget.
Method: Returns a widget empty state text. Default is ‘No data’. It is used when there is no data to show.
Widget::get_empty_state_text Read More »
Method: Loads required data.
Method: Returns a widget view name.
Widget::get_view_name Read More »
Method: Returns a widget view path.
Widget::get_view_path Read More »
Filter Hook: Filters the dashboard widget view path.
learndash_dashboard_widget_view_path Read More »
Method: Loads a widget if it’s not loaded, it is executed before rendering.
Action Hook: No description found
learndash_dashboard_widget_before_loading Read More »
Action Hook: No description found
learndash_dashboard_widget_after_loading Read More »