Retrieve an array of properties defined by the model

Return Return


Top ↑

Source Source

File: includes/abstracts/abstract.llms.post.model.php

	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 );

Top ↑

Changelog Changelog

Version Description
3.16.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.