LLMS_Shortcode_Hide_Content::get_default_attributes()

Retrieves an array of default attributes which are automatically merged with the user submitted attributes and passed to $this->get_output()


Description Description


Return Return

(array)


Top ↑

Source Source

File: includes/shortcodes/class.llms.shortcode.hide.content.php

	protected function get_default_attributes() {
		return array(
			'membership' => '', // backwards compat, use ID moving forward
			'message' => '',
			'id' => get_the_ID(),
			'relation'   => 'all',
		);
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.5.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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