includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::toArrayCustom()
|
Called by toArray to add custom fields via get_post_meta() Removes all custom props registered to the $this->properties automatically Also removes some fields used by the WordPress core that don’t hold necessary data Extending classes may override this class to exclude, extend, or modify the custom fields for a post type
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::set()
|
Setter
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::set_terms()
|
Update terms for the post for a given taxonomy
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::toArray()
|
Coverts the object to an associative array Any property returned by $this->get_properties() will be retrieved via $this->get() and added to the array
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::get_creation_args()
|
An array of default arguments to pass to $this->create() when creating a new post This *should* be overridden by child classes
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::get_embed()
|
Get media embeds
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::get_status_name()
|
Retrieve the registered Label of the posts current status
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::get_terms()
|
Get an array of terms for a given taxonomy for the post
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::get_array()
|
Getter for array values Ensures that even empty values return an array
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::get_date()
|
Getter for date strings with optional date format conversion If no format is supplied, the default format available via $this->get_date_format() will be used
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::get_image()
|
Retrieve URL for an image associated with the post Currently only retrieves the featured image if the post type supports it in the future this will allow retrieval of custom post images as well
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::get_post_type_data()
|
Retrieve the Post’s post type data object
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::get_price()
|
Getter for price strings with optional formatting options
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::translate()
|
Wrapper for $this-get() which allows translation of the database value before outputting on screen
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::export()
|
Trigger an export download of the given post type
|
includes/abstracts/abstract.llms.post.model.php:
LLMS_Post_Model::__get()
|
Magic Getter
|