learndash_is_valid_JSON()
Function: Checks whether a string is a valid JSON or not.
learndash_is_valid_JSON Read More »
@package: LearnDash / Misc
Source Files: includes/ld-misc-functions.php
Function: Checks whether a string is a valid JSON or not.
learndash_is_valid_JSON 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 learndash post type supports feeds or not.
learndash_post_type_supports_feed Read More »
Function: Checks whether a learndash post type supports comments or not.
learndash_post_type_supports_comments Read More »
Function: Manages the post update message for legacy editor screen.
learndash_post_updated_messages Read More »
Function: Retrieves the number of posts by post_type.
learndash_get_total_post_count 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: 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: Prints the given string in preformated text.
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: Helper function for PHP output buffering.
learndash_ob_get_clean Read More »
Function: Redirects to the home page if the user lands on archive pages for lesson or quiz post types.
ld_remove_lessons_and_quizzes_page 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 »