1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
<?php /** * WPSEO plugin file. * * @package WPSEO\Frontend */
/** * This class handles the Twitter card functionality. * * @deprecated 14.0 * * @link https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/abouts-cards */ class WPSEO_Twitter {
/** * Instance of this class. * * @var object */ public static $instance;
/** * Images. * * @var array */ public $shown_images = [];
/** * Class constructor. * * @deprecated 14.0 * @codeCoverageIgnore */ public function __construct() { _deprecated_function( __METHOD__, 'WPSEO 14.0' ); }
/** * Outputs the Twitter Card code on singular pages. * * @deprecated 14.0 * @codeCoverageIgnore */ public function twitter() { _deprecated_function( __METHOD__, 'WPSEO 14.0' ); }
/** * Get the singleton instance of this class. * * @deprecated 14.0 * @codeCoverageIgnore * * @return object */ public static function get_instance() { _deprecated_function( __METHOD__, 'WPSEO 14.0' );
return null; } }
|