32 lines
579 B
PHP
32 lines
579 B
PHP
<?php
|
|
namespace ElementorPro\Modules\TableOfContents;
|
|
|
|
use ElementorPro\Base\Module_Base;
|
|
use ElementorPro\Plugin;
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Exit if accessed directly
|
|
}
|
|
|
|
class Module extends Module_Base {
|
|
|
|
public function get_widgets() {
|
|
return [
|
|
'Table_Of_Contents',
|
|
];
|
|
}
|
|
|
|
public function get_name() {
|
|
return 'table-of-contents';
|
|
}
|
|
|
|
/**
|
|
* @deprecated 3.1.0
|
|
*/
|
|
public function localize_settings() {
|
|
Plugin::elementor()->modules_manager->get_modules( 'dev-tools' )->deprecation->deprecated_function( __METHOD__, '3.1.0' );
|
|
|
|
return [];
|
|
}
|
|
}
|