LLMS_User_Certificate::__construct( string|int|LLMS_Post_Model|WP_Post $model, array $args = array() )
Constructor.
Description Description
Overrides parent method to setup default properties that depend on other property values.
Parameters Parameters
- $model
-
(string|int|LLMS_Post_Model|WP_Post) (Required) Existing post or model object or ID
- $args
-
(array) (Optional) Args to create the post, only applies when $model is 'new'.
Default value: array()
Return Return
(void)
Source Source
File: includes/models/model.llms.user.certificate.php
public function __construct( $model, $args = array() ) { $this->set_property_defaults(); parent::__construct( $model, $args ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |