Warning: This function has been deprecated. Use ‘learndash_has_global_quizzes’ instead.

has_global_quizzes( int|null $id = null )

Checks if the resource has any quizzes.


Description Description


Parameters Parameters

$id

(Optional) The ID of the resource like course, lesson, topic, etc.

Default value: null


Top ↑

Return Return

(boolean) Returns true if the resource has quizzes otherwise false.


Top ↑

Source Source

File: includes/deprecated/3.4.0/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Use 'learndash_has_global_quizzes' instead.
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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