LearnDash_ProPanel_Widget
Base class for ProPanel dashboard widgets.
Description #
Source #
File: includes/reports/includes/class-ld-propanel-base-widget.php
Changelog #
| Version | Description |
|---|---|
| 4.17.0 | Introduced. |
Methods #
- __construct — Registers WordPress hooks for this widget.
- get_instance — Returns the *Singleton* instance of this class.
- get_label — Returns the label used as the widget title.
- get_name — Returns the name key which is used to identify this widget.
- initial_template — Outputs the widget container markup (override in subclasses).
- load_template — AJAX handler: renders a ProPanel fragment by template name.
- register_widget — Registers the dashboard widget when the user may access ProPanel.
- scripts — Enqueues ProPanel scripts and styles where applicable.