learndash_post_type_supports_comments()
Function: Checks whether a learndash post type supports comments or not.
learndash_post_type_supports_comments Read More »
@package: LearnDash / Misc
Source Files: includes/ld-misc-functions.php
Function: Checks whether a learndash post type supports comments or not.
learndash_post_type_supports_comments Read More »
Function: Checks whether a learndash post type supports feeds or not.
learndash_post_type_supports_feed Read More »
Function: Disables the RSS feeds if the feed support is disabled for the post type.
learndash_pre_posts_feeds Read More »
Function: Checks whether a string is a valid JSON or not.
learndash_is_valid_JSON Read More »
Function: Utility function to parse and validate whether the assignment upload extensions are allowed.
learndash_validate_extensions Read More »
Function: Removes a directory from the given path recursively.
learndash_recursive_rmdir Read More »
Function: Gets the MySQL privileges for the DB_USER defined in the wp-config.
learndash_get_db_user_grants Read More »
Function: Updates the metadata settings array when updating single setting.
learndash_update_post_meta 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: Saves the course, lesson, topic, and quiz settings meta to separate post meta.
learndash_convert_settings_to_single 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: Formats course points to the specified decimal value.
learndash_format_course_points Read More »
Function: Utility function to traverse the multidimensional array and apply user function.
Function: Prints the given string in preformated text.
Function: Checks if the server is on Microsoft IIS.
Function: Converts a date string to timestamp.
learndash_get_timestamp_from_date_string Read More »
Function: Converts a GMT timestamp to local timezone adjusted display.
learndash_adjust_date_time_display Read More »
Function: Converts the seconds to time output.
learndash_seconds_to_time Read More »
Function: Log debug messages to file.
Function: Ensures the comments are open for assignments.
learndash_comments_open Read More »