LLMS_Post_Model::get_properties()
Retrieve an array of properties defined by the model
Contents
Return Return
(array)
Source Source
File: includes/abstracts/abstract.llms.post.model.php
961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 | public function get_properties() { $props = array_merge ( $this ->get_post_properties(), $this ->properties ); /** * Filters the llms post properties * * The dynamic portion of this hook, `$this->model_post_type`, refers to the model's post type. For example "course", * "lesson", "membership", etc... * * @since Unknown * * @param array $properties Array of properties defined by the model * @param LLMS_Post_Model $llms_post The LLMS_Post_Model instance. */ return apply_filters( "llms_get_{$this->model_post_type}_properties" , $props , $this ); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.3.0 | |
3.16.0 | Introduced. |