/var/www/html_us/wp-content/plugins/elementor/modules/library/documents/section.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
namespace Elementor\Modules\Library\Documents;

if ( ! 
defined'ABSPATH' ) ) {
    exit; 
// Exit if accessed directly
}

/**
 * Elementor section library document.
 *
 * Elementor section library document handler class is responsible for
 * handling a document of a section type.
 *
 * @since 2.0.0
 */
class Section extends Library_Document {

    public static function 
get_properties() {
        
$properties parent::get_properties();

        
$properties['support_kit'] = true;
        
$properties['show_in_finder'] = true;

        return 
$properties;
    }

    public static function 
get_type() {
        return 
'section';
    }

    
/**
     * Get document title.
     *
     * Retrieve the document title.
     *
     * @since 2.0.0
     * @access public
     * @static
     *
     * @return string Document title.
     */
    
public static function get_title() {
        return 
esc_html__'Section''elementor' );
    }

    public static function 
get_plural_title() {
        return 
esc_html__'Sections''elementor' );
    }
}