LLMS_Shortcode_Course_Author::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.course.author.php

	protected function get_default_attributes() {
		return array(
			'avatar_size' => 48,
			'bio'         => 'yes',
			'course_id'   => get_the_ID(),
		);
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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