Page_List implements Registerable, Standard_Service
Handles functionality on the Pages list table screen
Tags
Interfaces, Classes and Traits
- Registerable
- Standard_Service
Table of Contents
- display_post_states() : mixed
- Add a post display state for our login and store pages
- register() : mixed
- {@inheritdoc}
- get_page_id() : int
- Returns the wholesale page ID based on page key
Methods
display_post_states()
Add a post display state for our login and store pages
    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 —register()
{@inheritdoc}
    public
                register() : mixed
    
    
    
    Tags
Return values
mixed —get_page_id()
Returns the wholesale page ID based on page key
    private
                get_page_id(string $page_key) : int
    
        Parameters
- $page_key : string
Tags
Return values
int —$page_id