namespace Elementor\Modules\Components\Documents;
use Elementor\Core\Base\Document;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
class Component extends Document {
const TYPE = 'elementor_component';
public static function get_properties() {
$properties = parent::get_properties();
$properties['cpt'] = [ self::TYPE ];
public static function get_type() {
public static function get_title() {
return esc_html__( 'Component', 'elementor' );
public static function get_plural_title() {
return esc_html__( 'Components', 'elementor' );
public static function get_labels(): array {
$plural_label = static::get_plural_title();
$singular_label = static::get_title();
'singular_name' => $singular_label,
public static function get_supported_features(): array {