• File: atomic-widgets-library.php
  • Full Path: /home/bravrvjk/itiministry.org/wp-content/plugins/elementor/modules/atomic-widgets/library/atomic-widgets-library.php
  • Date Modified: 09/15/2025 2:10 PM
  • File size: 469 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Elementor\Modules\AtomicWidgets\Library;

use Elementor\Plugin;

class Atomic_Widgets_Library {
	public function register_hooks() {
		add_action( 'elementor/documents/register', fn() => $this->register_documents() );
	}

	public function register_documents() {
		Plugin::$instance->documents
			->register_document_type( 'e-div-block', Div_Block::get_class_full_name() )
			->register_document_type( 'e-flexbox', Flexbox::get_class_full_name() );
	}
}