class-googleplus.php
1.32 KB
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
65
66
67
68
69
70
71
<?php
/**
* @package WPSEO\Frontend
*/
/**
* This code handles the Google+ specific output that's not covered by OpenGraph.
*
* @deprecated 3.2 - Google+ uses OpenGraph data when there is no specific Google+ data provided.
*/
class WPSEO_GooglePlus {
/**
* @var object Instance of this class
*/
public static $instance;
/**
* Class constructor.
*/
public function __construct() {
}
/**
* Get the singleton instance of this class
*
* @return object
*/
public static function get_instance() {
if ( ! ( self::$instance instanceof self ) ) {
self::$instance = new self();
}
return self::$instance;
}
/**
* Output the Google+ specific content
*
* @deprecated 3.2
*/
public function output() {
_deprecated_function( 'WPSEO_GooglePlus::output', '3.2' );
}
/**
* Output the Google+ specific description
*
* @deprecated 3.2
*/
public function description() {
_deprecated_function( 'WPSEO_GooglePlus::description', '3.2' );
}
/**
* Output the Google+ specific title
*
* @deprecated 3.2
*/
public function google_plus_title() {
_deprecated_function( 'WPSEO_GooglePlus::google_plus_title', '3.2' );
}
/**
* Output the Google+ specific image
*/
public function google_plus_image() {
_deprecated_function( 'WPSEO_GooglePlus::google_plus_image', '3.2' );
}
}