LLMS_Shortcode_Hide_Content::get_default_attributes()

Get default shortcode attributes


Description Description

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


Top ↑

Return Return

(array)


Top ↑

Source Source

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

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

Top ↑

Changelog Changelog

Changelog
Version Description
3.5.1
3.24.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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