Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_BBP_Shortcode_Course_Forums_List::get_forums()

Retrieve the forum ids associated with the course


Return Return

(array)


Top ↑

Source Source

File: includes/shortcodes/class.llms.bbp.shortcode.course.forums.list.php

	private function get_forums() {

		global $post;

		$course = llms_get_post( $post );
		if ( $course ) {
			return $course->get( 'bbp_forum_ids' );
		}

		return array();

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.12.1 Unknown.
3.12.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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