Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Utilities::get_class_instance( $class_name )
Get a specific class instance
Contents
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Parameters Parameters
- $class_name
(Required)
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; }
Expand full source code Collapse full source code View on Github
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |