Retrieve the default values for properties

Return Return


Top ↑

Source Source

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

	public function get_property_defaults() {
		 * Filters the defaults 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 3.24.0
		 * @param array           $property_defaults Array of default property values.
		 * @param LLMS_Post_Model $llms_post         The LLMS_Post_Model instance.
		return apply_filters( "llms_get_{$this->model_post_type}_property_defaults", $this->property_defaults, $this );

Top ↑

Changelog Changelog

Version Description
3.24.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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