-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdeprecated.php
112 lines (90 loc) · 2.54 KB
/
deprecated.php
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?php
/**
* Deprecated functions.
*
* @since 1.0.0
*
* @package seo-data-transporter
*/
/**
* Deprecated. Initialize the SEO Data Transporter plugin.
*
* @deprecated 1.0.0
*/
function seodt_init() {
_deprecated_function( __FUNCTION__, '1.0.0', 'SEO_Data_Transporter::init()' );
}
/**
* Deprecated. Activation Hook.
*
* @deprecated 1.0.0
*/
function seodt_activation_hook() {
_deprecated_function( __FUNCTION__, '1.0.0' );
}
/**
* Deprecated. This function converts $old meta_key entries in the postmeta table into $new entries.
*
* @deprecated 1.0.0
*
* @param Array $old_key Old Key.
* @param Array $new_key New Key.
* @param Array $delete_old Delete Old.
*/
function seodt_meta_key_convert( $old_key, $new_key, $delete_old ) {
_deprecated_function( __FUNCTION__, '1.0.0', 'SEO_Data_Transporter_Utility::meta_key_convert()' );
$utility = SEO_Data_Transporter_Utility( SEO_Data_Transporter()->get_supported_platforms() );
return $utility->meta_key_convert( $old_key, $new_key, $delete_old );
}
/**
* Deprecated.
*
* @deprecated 1.0.0
*
* @param Array $old_platform Old Platform.
* @param Array $new_platform New Platform.
* @param Array $delete_old Delete Old.
*/
function seodt_post_meta_convert( $old_platform, $new_platform, $delete_old ) {
_deprecated_function( __FUNCTION__, '1.0.0', 'SEO_Data_Transporter_Utility::convert()' );
$utility = SEO_Data_Transporter_Utility( SEO_Data_Transporter()->get_supported_platforms() );
return $utility->convert( $old_platform, $new_platform, $delete_old );
}
/**
* Deprecated.
*
* @deprecated 1.0.0
*
* @param Array $old_platform Old Platform.
* @param Array $new_platform New Platform.
*/
function seodt_post_meta_analyze( $old_platform, $new_platform ) {
_deprecated_function( __FUNCTION__, '1.0.0', 'SEO_Data_Transporter_Utility::convert()' );
$utility = SEO_Data_Transporter_Utility( SEO_Data_Transporter()->get_supported_platforms() );
return $utility->analyze( $old_platform, $new_platform, $delete_old );
}
/**
* Deprecated. Register the admin menu page.
*
* @deprecated 1.0.0
*/
function seodt_settings_init() {
_deprecated_function( __FUNCTION__, '1.0.0' );
}
/**
* Deprecated. This function intercepts POST data from the form submission, and uses that
* data to convert values in the postmeta table from one platform to another.
*
* @deprecated 1.0.0
*/
function seodt_action() {
_deprecated_function( __FUNCTION__, '1.0.0' );
}
/**
* Deprecated. The admin page output
*
* @deprecated 1.0.0
*/
function seodt_admin() {
_deprecated_function( __FUNCTION__, '1.0.0' );
}