Browse: Home / Functions /

lesson_hasassignments

This function has been deprecated. Use ‘learndash_lesson_hasassignments’ instead.

lesson_hasassignments( WP_Post $post )

Utility function to check whether a lesson has an assignment.


Description #


Parameters #

$post

(WP_Post) (Required) The assignment WP_Post object.


Return #

(boolean)


Source #

File: includes/deprecated/3.4.0/functions.php


Changelog #

Changelog
Version Description
3.4.0 Use 'learndash_lesson_hasassignments' instead.
2.1.0 Introduced. This function has been deprecated. Use {@see 'learndash_lesson_hasassignments'} instead.