Utilities::get_class_instance( $class_name )

Get a specific class instance


Parameters Parameters

$class_name

(Required) The name of the class instance


Top ↑

Return Return

(object) | bool


Source Source

File: src/core/class-utilities.php

	public static function get_class_instance( $class_name ) {
		return self::$class_instances[ $class_name ] ?? false;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.