WPPostData
Table of Contents
-
$featured_image
: int|null
-
$ID
: int
-
$post_content
: string
-
$post_date
: string
-
$post_excerpt
: string
-
$post_metas
: array<string|int, mixed>
-
$post_parent
: int
-
$post_status
: string
-
$post_title
: string
-
$post_type
: string
-
$taxonomies
: array<string|int, mixed>
-
__construct()
: mixed
-
getFeaturedImage()
: mixed
-
getID()
: mixed
-
getPostAtts()
: mixed
-
getPostMetas()
: mixed
-
getStatus()
: mixed
-
getTaxonomies()
: mixed
-
getTitle()
: mixed
-
hasFeaturedImage()
: mixed
-
hasID()
: bool
-
setID()
: mixed
-
setPostMeta()
: mixed
-
setStatus()
: mixed
-
setTitle()
: mixed
$featured_image
private
int|null
$featured_image
= null
$ID
private
int
$ID
$post_content
private
string
$post_content
$post_date
private
string
$post_date
$post_excerpt
private
string
$post_excerpt
$post_metas
private
array<string|int, mixed>
$post_metas
= array()
$post_parent
private
int
$post_parent
$post_status
private
string
$post_status
$post_title
private
string
$post_title
$post_type
private
string
$post_type
= 'post'
$taxonomies
private
array<string|int, mixed>
$taxonomies
= array()
__construct()
public
__construct([mixed $atts = array() ]) : mixed
Parameters
-
$atts
: mixed
= array()
-
Return values
mixed
—
getFeaturedImage()
public
getFeaturedImage() : mixed
Return values
mixed
—
getID()
public
getID() : mixed
Return values
mixed
—
getPostAtts()
public
getPostAtts() : mixed
Return values
mixed
—
getPostMetas()
public
getPostMetas() : mixed
Return values
mixed
—
getStatus()
public
getStatus() : mixed
Return values
mixed
—
getTaxonomies()
public
getTaxonomies() : mixed
Return values
mixed
—
getTitle()
public
getTitle() : mixed
Return values
mixed
—
hasFeaturedImage()
public
hasFeaturedImage() : mixed
Return values
mixed
—
hasID()
public
hasID() : bool
Return values
bool
—
setID()
public
setID(mixed $ID) : mixed
Parameters
-
$ID
: mixed
-
Return values
mixed
—
setPostMeta()
public
setPostMeta(string $metaName, mixed $value) : mixed
Parameters
-
$metaName
: string
-
-
$value
: mixed
-
-
since
-
3.6.1
Return values
mixed
—
setStatus()
public
setStatus(mixed $status) : mixed
Parameters
-
$status
: mixed
-
Return values
mixed
—
setTitle()
public
setTitle(mixed $title) : mixed
Parameters
-
$title
: mixed
-
Return values
mixed
—