LLMS_Post_Model::get_default_value( string $key )

Get the default value of a property


Description Description

If defaults don’t exist returns an empty string in accordance with the return of get_post_meta() when no metadata exists.


Top ↑

Parameters Parameters

$key

(string) (Required) Property key/name.


Top ↑

Return Return

(mixed)


Top ↑

Source Source

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

	/**
	 * Retrieve URL for an image associated with the post
	 *
	 * Currently, only retrieves the featured image if the post type supports it.

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.