# betterdocs/4.9.3/views/template-parts/update-date.php

BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ &amp; Chatbot, version 4.9.3. 10 lines.

- Page: https://pluginprobe.com/plugins/betterdocs/4.9.3/code/views/template-parts/update-date.php
- Raw: https://pluginprobe.com/plugins/betterdocs/4.9.3/raw/views/template-parts/update-date.php
- Modified: 2026-06-23T11:52:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/betterdocs/4.9.3/code/views/template-parts/update-date.php#L10-L20`.

```php
<?php


if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
if ( betterdocs()->settings->get( 'show_last_update_time' ) ) {
    echo wp_sprintf( '<div class="update-date">%s %s</div>', esc_html__( 'Updated on', 'betterdocs' ),  get_the_modified_date() ); //phpcs:ignore
}

```
