PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 18.1
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v18.1
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
wordpress-seo / src / deprecated / frontend / class-twitter.php

class-twitter.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 18.1, at src/deprecated/frontend/class-twitter.php

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