\um\admin\coreAdmin_Columns

Class Admin_Columns

Summary

Methods
Properties
Constants
__construct()
post_row_actions()
duplicate_uri()
manage_edit_um_form_columns()
manage_edit_um_directory_columns()
manage_um_form_posts_custom_column()
manage_um_directory_posts_custom_column()
add_display_post_states()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

Admin_Columns constructor.

post_row_actions()

post_row_actions(array  $actions, \WP_Post  $post) : mixed

Custom row actions

Parameters

array $actions
\WP_Post $post

Returns

mixed

duplicate_uri()

duplicate_uri(integer  $id) : string

Duplicate a form

Parameters

integer $id

Returns

string

manage_edit_um_form_columns()

manage_edit_um_form_columns(array  $columns) : array

Custom columns for Form

Parameters

array $columns

Returns

array

manage_edit_um_directory_columns()

manage_edit_um_directory_columns(array  $columns) : array

Custom columns for Directory

Parameters

array $columns

Returns

array

manage_um_form_posts_custom_column()

manage_um_form_posts_custom_column(string  $column_name, integer  $id) 

Display custom columns for Form

Parameters

string $column_name
integer $id

manage_um_directory_posts_custom_column()

manage_um_directory_posts_custom_column(string  $column_name, integer  $id) 

Display cusom columns for Directory

Parameters

string $column_name
integer $id

add_display_post_states()

add_display_post_states(array  $post_states, \WP_Post  $post) : mixed

Add a post display state for special UM pages in the page list table.

Parameters

array $post_states

An array of post display states.

\WP_Post $post

The current post object.

Returns

mixed