Posts_Table_Data_Factory extends Data_Factory

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

Tags
deprecated
2.2

Replaced by Barn2\Plugin\Posts_Table_Pro\Data\Data_Factory

Table of Contents

$args  : Table_Args
__construct()  : mixed
create()  : Table_Data_Interface
Creates the data object for the given column.

Properties

Methods

create()

Creates the data object for the given column.

public create(string $column, WP_Post $post) : Table_Data_Interface
Parameters
$column : string

The column to create the data object for.

$post : WP_Post

The post to retrieve data from.

Return values
Table_Data_Interface

The data object.

Search results