LLMS_Post_Model::get_default_value( string $key )

Get the default value of a property If defaults don’t exist returns an empty string in accordance with the return of get_post_meta() when no metadata exists


Description Description


Parameters Parameters

$key

(string) (Required) property key/name


Top ↑

Return Return

(mixed)


Top ↑

Source Source

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

	public function get_default_value( $key ) {
		$defaults = $this->get_property_defaults();
		return isset( $defaults[ $key ] ) ? $defaults[ $key ] : '';
	}

Top ↑

Changelog 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.





Permalink: