\Barn2\Plugin\Posts_Table_Pro\DataData_Factory

Factory class to get the posts table data object for a given column.

Summary

Methods
Properties
Constants
__construct()
create()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$args
N/A

Properties

Methods

create()

create(string  $column,\WP_Post  $post): \Barn2\PTP_Lib\Table\Table_Data_Interface

Creates the data object for the given column.

Parameters

string $column

The column the create the data object for.

\WP_Post $post

The post to retrieve data from.

Returns

\Barn2\PTP_Lib\Table\Table_Data_Interface

The data object.