Documentation

class Row{}

Details

  • Row
  • class
  • Active
  • 1.0.0

Description

Class reflecting the data in the database

Properties

public $cache array
['from_post' => [], 'to_post' => [], 'redirection' => [] ]
Local cache excluded from database

protected $from_how string
empty string
How is it referenced (url, id, post)

protected $from_post_id int
0
Post ID of the source using this reference

protected $from_post_type string
empty string
post, term, user

protected $from_where string
empty string
The context of where the reference is located (content, menu, featured image, post meta, redirect)

protected $from_where_key string
empty string
the post meta key, term meta key, user meta key, or other specific reference related to from_where

protected $id int
0
Unique ID in the database entry

protected $redirection_id int
0
The unique ID of the redirection rule in the database

protected $redirection_site_id int
0
The blog_id of the site where the redirection rule exists

protected $redirection_url string
empty string
The URL that the redirect is sending the user to

protected $to_anchor_text string
empty string
The anchor text used in the link

protected $to_block_name string
empty string
The name of the block being used

protected $to_post_id int
0
Post ID of the reference

protected $to_post_type string
empty string
// If in network, the post_type of the destination

protected $to_site_id int
0
Multisite blog_id of the reference

protected $to_type string
empty string
Describes what type of reference this is (link, image, block, redirect)

protected $to_url string
empty string
Original URL provided

protected $to_url_absolute string
empty string
The absolute version of the URL (not including the anchor link)

protected $to_url_full string
empty string
The full version of the original URL

protected $to_url_status int
-1
The status code of the original URL (Full version)

protected $to_url_status_date string
empty string
The date the status code was determined

If you notice any incorrect or missing information on this page, please let us know.