Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
elementor
/
modules
/
mcp
/
abilities
/
utils
:
default-children-utils.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Elementor\Modules\Mcp\Abilities\Utils; if ( ! defined( 'ABSPATH' ) ) { exit; } class Default_Children_Utils { public static function get_required_child_types( array $default_children ): array { $types = []; foreach ( $default_children as $child ) { if ( empty( $child['meta']['required'] ) ) { continue; } $type = $child['widgetType'] ?? $child['elType'] ?? null; if ( $type ) { $types[] = $type; } } return $types; } }