Submodule_Registry_Interface::register( string $slug, string $submodule_class_name )

Registers a new submodule.

Description

Parameters

$slug

(string) (Required) Submodule slug.

$submodule_class_name

(string) (Required) Submodule class name.

Return

(bool|awsmug\Torro_Forms\Modules\Error) True on success, error object on failure.

Source

File: src/modules/submodule-registry-interface.php

	public function register( $slug, $submodule_class_name );

Changelog

Changelog
Version Description
1.0.0 Introduced.