LLMS_Post_Model::toArrayAfter()

Method: Called before data is sorted and returned by $this->toArray() Extending classes should override this data if custom data should be added when object is converted to an array or json

Source: includes/abstracts/abstract.llms.post.model.php:1016

Used by 1 function | Uses 0 functions

LLMS_Post_Model::toArrayCustom()

Method: 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

Source: includes/abstracts/abstract.llms.post.model.php:1033

Used by 1 function | Uses 2 functions