LLMS_Post_Model::get_unsettable_properties()
Array of properties which *cannot* be set
Description Description
If a child class adds any properties which should not be settable the class should override this property and add their custom properties to the array.
Return Return
(array)
Source Source
File: includes/abstracts/abstract.llms.post.model.php
protected function get_unsettable_properties() {
/**
* Filters the properties of the model that *cannot* be set
*
* @since Unknown
*
* @param array $unsettable_properties Array of property names.
* @param LLMS_Post_Model $llms_post The LLMS_Post_Model instance.
*/
return apply_filters(
'llms_post_model_get_unsettable_properties',
array(
'db_post_type',
'id',
'meta_prefix',
'model_post_type',
'post',
),
$this
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |