add_shortcode('wpv-post-modified', 'wpv_post_modified_shortcode');
function wpv_post_modified_shortcode($atts) {
if (empty($atts['format'])) {
$atts['format'] = get_option('date_format');
}
return get_the_modified_date($atts['format']);
}
[wpv-post-modified format="d-m-Y"]
https://toolset.com/forums/topic/adding-a-shortcode-for-the-last-modified-date/