learndash_adjust_date_time_display( int $timestamp, string $display_format = '' )
Converts a GMT timestamp to local timezone adjusted display.
Description #
Parameters #
- $timestamp
-
(int) (Optional) The Unix timestamp to display. Default 0.
- $display_format
-
(string) (Optional) The time display format. If empty, uses the format defined for WordPress under Settings -> General.
Default value: ''
Return #
(string) The adjusted date time display.
Source #
Changelog #
Version | Description |
---|---|
2.2.0 | Introduced. |
Related #
Namespace #
@package #
Uses #
Uses | Description |
---|---|
includes/ld-misc-functions.php: learndash_date_time_formats |
Filters LearnDash date and time format. |
Used By #
Used By | Description |
---|---|
includes/reports/includes/class-ld-propanel-activity.php: LearnDash_ProPanel_Activity::activity_template_rows () |
Build Activity Rows |
src/Core/Mappers/Dashboards/Course/Widgets/Latest_Enrollees.php: Latest_Enrollees::load_data () |
Loads required data. |
includes/payments/ld-purchase-invoice-functions.php: learndash_generate_purchase_invoice () |
Generate PDF purchase invoice. |
themes/ld30/includes/helpers.php: learndash_get_course_step_attributes () |
Gets the course step attributes. |
includes/admin/classes-posts-listings/class-learndash-admin-coupons-listing.php: Learndash_Admin_Coupons_Listing::column_state () |
Show a state (active, expired, future start date). |
includes/quiz/ld-quiz-pro.php: learndash_quiz_debug_log_init () |
Quiz Debug Log Init |
includes/quiz/ld-quiz-pro.php: learndash_quiz_debug_log_message () |
Quiz Debug Log Message |
src/deprecated/LearnDash_PayPal_IPN.php: LearnDash_PayPal_IPN::ipn_debug () |
Logs the message to the IPN Processing log. |
includes/admin/classes-posts-edits/class-learndash-admin-essay-edit.php: Learndash_Admin_Essay_Edit::essay_grading_meta_box () |
Prints the essay grading metabox content. |
includes/shortcodes/ld_groupinfo.php: learndash_groupinfo_shortcode () |
Builds the |
includes/ld-misc-functions.php: learndash_post_updated_messages () |
Manages the post update message for legacy editor screen. |
includes/ld-certificates.php: learndash_certificates_post_updated_messages () |
Certificate published/updated notice to replace the default notice that contains a link to a non-existent resource. |
includes/class-ld-cpt.php: SFWD_CPT::loop_shortcode () |
Shortcode that generates a list of items in this post type |
includes/class-ld-lms.php: SFWD_LMS::course_progress_data () |
Course progress data |
includes/class-ld-lms.php: SFWD_LMS::quiz_export_init () |
Export quiz data to CSV |
includes/ld-reports.php: learndash_reports_get_activity () |
Queries the user activity for the report. |
includes/settings/settings-sections/class-ld-settings-section-quizzes-management-display.php: LearnDash_Settings_Quizzes_Management_Display::load_settings_fields () |
Initialize the metabox settings fields. |
includes/settings/settings-sections/class-ld-settings-section-support-learndash.php: LearnDash_Settings_Section_Support_LearnDash::learndash_support_sections_init () |
Support Sections Init |
includes/settings/settings-sections/class-ld-settings-section-translations-refresh.php: LearnDash_Settings_Section_Translations_Refresh::show_meta_box () |
Custom function to metabox. |
includes/shortcodes/ld_courseinfo.php: learndash_courseinfo () |
Builds the |
includes/shortcodes/ld_quizinfo.php: learndash_quizinfo () |
Builds the |
includes/lib/wp-pro-quiz/lib/view/WpProQuiz_View_StatisticsAjax.php: WpProQuiz_View_StatisticsAjax::showUserTable () |
Outputs the user statistics table. |
includes/lib/wp-pro-quiz/lib/helper/WpProQuiz_Helper_Until.php: WpProQuiz_Helper_Until::convertTime () |
Convert a Unix timestamp to a local time. |
includes/course/ld-course-navigation.php: learndash_get_course_lessons_list () |
Gets the lesson list output for a course. |
includes/shortcodes/ld_course_expire_status.php: learndash_course_expire_status_shortcode () |
Builds the |
includes/admin/class-learndash-admin-data-upgrades.php: Learndash_Admin_Data_Upgrades::get_last_run_info () |
Return the last run details for the last completed data upgrade for the instance. |
includes/admin/classes-data-reports-actions/class-learndash-admin-data-reports-user-quizzes.php: Learndash_Admin_Data_Reports_Quizzes::report_column () |
Handles display formatting of report column value. |
includes/admin/classes-data-reports-actions/class-learndash-admin-data-reports-user-courses.php: Learndash_Admin_Data_Reports_Courses::report_column () |
Handles display formatting of report column value. |