芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/elementor/includes/admin-templates/new-template.php
'form' ] ); $document_types = Plugin::$instance->documents->get_document_types(); $types = []; $lock_configs = []; $selected = get_query_var( 'elementor_library_type' ); foreach ( $document_types as $document_type ) { if ( $document_type::get_property( 'show_in_library' ) ) { /** * @var Document $instance */ $instance = new $document_type(); $lock_behavior = $document_type::get_lock_behavior_v2(); $types[ $instance->get_name() ] = $document_type::get_title(); $lock_configs[ $instance->get_name() ] = empty( $lock_behavior ) ? (object) [] : $lock_behavior->get_config(); } } /** * Create new template library dialog types. * * Filters the dialog types when printing new template dialog. * * @since 2.0.0 * * @param array $types Types data. * @param Document $document_types Document types. */ $types = apply_filters( 'elementor/template-library/create_new_dialog_types', $types, $document_types ); ksort( $types ); ?>