first commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?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 [];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user