PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 27.8
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v27.8
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 / models / seo-links.php

seo-links.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 27.8, at src/models/seo-links.php

76 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Yoast\WP\SEO\Models;
4
5 use Yoast\WP\Lib\Model;
6
7 /**
8 * Table definition for the SEO Links table.
9 *
10 * @property int $id
11 * @property string $url
12 * @property int $post_id
13 * @property int $target_post_id
14 * @property string $type
15 * @property int $indexable_id
16 * @property int $target_indexable_id
17 * @property int $height
18 * @property int $width
19 * @property int $size
20 * @property string $language
21 * @property string $region
22 */
23 class SEO_Links extends Model {
24
25 /**
26 * Indicates that the link is external.
27 *
28 * @var string
29 */
30 public const TYPE_INTERNAL = 'internal';
31
32 /**
33 * Indicates that the link is internal.
34 *
35 * @var string
36 */
37 public const TYPE_EXTERNAL = 'external';
38
39 /**
40 * Indicates the link is an internal image.
41 *
42 * @var string
43 */
44 public const TYPE_INTERNAL_IMAGE = 'image-in';
45
46 /**
47 * Indicates the link is an external image.
48 *
49 * @var string
50 */
51 public const TYPE_EXTERNAL_IMAGE = 'image-ex';
52
53 /**
54 * Holds the parsed URL. May not be set.
55 *
56 * @var array
57 */
58 public $parsed_url;
59
60 /**
61 * Which columns contain int values.
62 *
63 * @var array
64 */
65 protected $int_columns = [
66 'id',
67 'post_id',
68 'target_post_id',
69 'indexable_id',
70 'target_indexable_id',
71 'height',
72 'width',
73 'size',
74 ];
75 }
76