ElementorPro/modules/table-of-contents/module.php
2024-07-07 01:00:30 +02:00

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 [];
}
}