LLMS_Post_Model::__construct( string|int|LLMS_Post_Model|WP_Post $model, array $args = array() )

Constructor


Description Description

Setup ID and related post property.


Parameters Parameters

$model

(Required) 'new', WP post id, instance of an extending class, instance of WP_Post.

$args

(Optional) Args to create the post, only applies when $model is 'new'.

Default value: array()


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/abstracts/abstract.llms.post.model.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.13.0 Unknown.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.