| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
|
| 6 |
/** |
| 7 |
* This class handles the pointers used in the introduction tour. |
| 8 |
* @deprecated 3.01.03 |
| 9 |
* @codeCoverageIgnore |
| 10 |
*/ |
| 11 |
class FrmPointers { |
| 12 |
|
| 13 |
/** |
| 14 |
* @var object Instance of this class |
| 15 |
*/ |
| 16 |
public static $instance; |
| 17 |
|
| 18 |
/** |
| 19 |
* Get the singleton instance of this class |
| 20 |
* |
| 21 |
* @return object |
| 22 |
*/ |
| 23 |
public static function get_instance() { |
| 24 |
_deprecated_function( __FUNCTION__, '3.01.03' ); |
| 25 |
|
| 26 |
if ( ! ( self::$instance instanceof self ) ) { |
| 27 |
self::$instance = new self(); |
| 28 |
} |
| 29 |
|
| 30 |
return self::$instance; |
| 31 |
} |
| 32 |
|
| 33 |
/** |
| 34 |
* Load the introduction tour |
| 35 |
*/ |
| 36 |
public function intro_tour() { |
| 37 |
_deprecated_function( __FUNCTION__, '3.01.03' ); |
| 38 |
} |
| 39 |
|
| 40 |
/** |
| 41 |
* Prints the pointer script |
| 42 |
* |
| 43 |
* @param string $selector The CSS selector the pointer is attached to. |
| 44 |
* @param array $options The options for the pointer. |
| 45 |
*/ |
| 46 |
public function print_scripts( $selector, $options ) { |
| 47 |
_deprecated_function( __FUNCTION__, '3.01.03' ); |
| 48 |
} |
| 49 |
} |
| 50 |
|