/var/www/hkosl.com/aga/wp-content/plugins/wordpress-seo/deprecated/class-cornerstone.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
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin
 */

/**
 * Represents the yoast cornerstone content.
 *
 * @deprecated 8.4
 */
class WPSEO_Cornerstone {

    
/**
     * @var string
     */
    
const META_NAME 'is_cornerstone';

    
/**
     * @var string
     */
    
const FIELD_NAME 'yoast_wpseo_is_cornerstone';

    
/**
     * WPSEO_Cornerstone constructor.
     *
     * @deprecated 8.4
     */
    
public function __construct() {
        
_deprecated_constructor'WPSEO_Cornerstone''8.4' );
    }

    
/**
     * Registers the hooks.
     *
     * @deprecated 8.4
     *
     * @return void
     */
    
public function register_hooks() {
        
_deprecated_function'WPSEO_Cornerstone::register_hooks''8.4' );
    }

    
/**
     * Saves the meta value to the database.
     *
     * @deprecated 8.4
     *
     * @param int $post_id The post id to save the meta value for.
     *
     * @return void
     */
    
public function save_meta_value$post_id ) {
        
_deprecated_function'WPSEO_Cornerstone::save_meta_value''8.4' );
    }
}