24 lines
442 B
PHP
24 lines
442 B
PHP
<?php
|
|
namespace WprAddons\Modules\PageList;
|
|
|
|
use WprAddons\Base\Module_Base;
|
|
|
|
class Module extends Module_Base {
|
|
|
|
public function __construct() {
|
|
parent::__construct();
|
|
|
|
// This is here for extensibility purposes - go to town and make things happen!
|
|
}
|
|
|
|
public function get_name() {
|
|
return 'wpr-page-list';
|
|
}
|
|
|
|
public function get_widgets() {
|
|
return [
|
|
'Wpr_Page_List', // This should match the widget/element class.
|
|
];
|
|
}
|
|
|
|
} |