WPCF7_Integration::get_instance()public staticCF7 1.0

Returns the singleton instance of this class.

{} Это метод класса: WPCF7_Integration{}

Хуков нет.

Возвращает

WPCF7_Integration. The instance.

Использование

$result = WPCF7_Integration::get_instance();

Код WPCF7_Integration::get_instance() CF7 5.6.3

public static function get_instance() {
	if ( empty( self::$instance ) ) {
		self::$instance = new self;
		self::$instance->categories = self::get_builtin_categories();
	}

	return self::$instance;
}