learndash_check_query_post_type()
Function: Gets the posts count from the `WP_Query` post_type argument.
learndash_check_query_post_type Read More »
Function: Gets the posts count from the `WP_Query` post_type argument.
learndash_check_query_post_type Read More »
Function: Converts the stored lesson timer value from the postmeta settings into number of total seconds.
learndash_convert_lesson_time_time Read More »
Function: Updates the comment_status field for all the post of given post type.
learndash_update_posts_comment_status Read More »
Function: Utility function to load minified version of CSS/JS assets.
leardash_min_asset Read More »
Function: Removes a directory from the given path recursively.
learndash_recursive_rmdir Read More »
Function: Utility function to parse and validate whether the assignment upload extensions are allowed.
learndash_validate_extensions Read More »
Function: Utility function to accept a file path and swap it out for a URL.
learndash_template_url_from_path Read More »
Function: Saves the course, lesson, topic, and quiz settings meta to separate post meta.
learndash_convert_settings_to_single Read More »
Function: Saves the course, lesson, topic, and quiz settings meta to separate post meta if not already converted.
learndash_check_convert_settings_to_single Read More »
Function: Updates the metadata settings array when updating single setting.
learndash_update_post_meta Read More »
Function: Gets the MySQL privileges for the DB_USER defined in the wp-config.
learndash_get_db_user_grants Read More »
Function: Utility function to traverse the multidimensional array and apply user function.
Function: Formats course points to the specified decimal value.
learndash_format_course_points Read More »
Function: Checks if a LearnDash post type has archive support or not.
learndash_post_type_has_archive Read More »
Function: Removes all comments for learndash post types.
learndash_remove_comments Read More »
Function: Ensures the comments are open for assignments.
learndash_comments_open Read More »
Function: Converts the seconds to time output.
learndash_seconds_to_time Read More »
Function: Converts a GMT timestamp to local timezone adjusted display.
learndash_adjust_date_time_display Read More »