Astra_Scroll_To_Top_Loader::get_instance()

Initiator


Description


Source

File: inc/addons/scroll-to-top/classes/class-astra-scroll-to-top-loader.php

	public static function get_instance() {
		if ( ! isset( self::$instance ) ) {
			/** @psalm-suppress InvalidPropertyAssignmentValue */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort
			self::$instance = new self();
			/** @psalm-suppress InvalidPropertyAssignmentValue */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort
		}
		return self::$instance;
	}


User Contributed Notes

You must log in before being able to contribute a note or feedback.