Page_List implements Registerable, Service, Conditional
Handles functionality on the Pages list table screen
Tags
Interfaces, Classes and Traits
- Registerable
- Service
- Conditional
Table of Contents
- display_post_states() : mixed
- Add a post display state for the search page.
- is_required() : mixed
- {@inheritdoc}
- register() : mixed
- {@inheritdoc}
- get_page_id() : int
- Returns the document page ID
Methods
display_post_states()
Add a post display state for the search page.
public
display_post_states(array<string|int, mixed> $post_states, WP_Post $post) : mixed
Parameters
- $post_states : array<string|int, mixed>
-
An array of post display states.
- $post : WP_Post
-
The current post object.
Tags
Return values
mixed —is_required()
{@inheritdoc}
public
is_required() : mixed
Tags
Return values
mixed —register()
{@inheritdoc}
public
register() : mixed
Tags
Return values
mixed —get_page_id()
Returns the document page ID
private
get_page_id(mixed $page_key) : int
Parameters
- $page_key : mixed
Tags
Return values
int —$page_id