touch_time example

<?php endif; // is_post_type_viewable() ?> <?php endif; // $bulk ?> <?php endif; // post_type_supports( ... 'title' ) ?> <?php if ( ! $bulk ) : ?> <fieldset class="inline-edit-date"> <legend><span class="title"><?php _e( 'Date' ); ?></span></legend> <?php touch_time( 1, 1, 0, 1 ); ?> </fieldset> <br class="clear" /> <?php endif; // $bulk ?> <?php                 if ( post_type_supports( $screen->post_type, 'author' ) ) {
                    $authors_dropdown = '';

                    if ( current_user_can( $post_type_object->cap->edit_others_posts ) ) {
                        $dropdown_name  = 'post_author';
                        $dropdown_class = 'authors';
                        
<?php     /* translators: Hidden accessibility text. */
    _e( 'Date and time' );
    ?> </legend> <?php /** * @global string $action */
global $action;

touch_time( ( 'editcomment' === $action ), 0 );
?> </fieldset> </div> <?php $post_id = $comment->comment_post_ID;
if ( current_user_can( 'edit_post', $post_id ) ) {
    $post_link  = "<a href='" . esc_url( get_edit_post_link( $post_id ) ) . "'>";
    $post_link .= esc_html( get_the_title( $post_id ) ) . '</a>';
} else {
    $post_link = esc_html( get_the_title( $post_id ) );
}
_e( 'Edit date and time' );
                        ?> </span> </a> <fieldset id="timestampdiv" class="hide-if-js"> <legend class="screen-reader-text"> <?php                         /* translators: Hidden accessibility text. */
                        _e( 'Date and time' );
                        ?> </legend> <?php touch_time( ( 'edit' === $action ), 1 ); ?> </fieldset> </div> <?php         endif;

        if ( 'draft' === $post->post_status && get_post_meta( $post_id, '_customize_changeset_uuid', true ) ) :
            ?> <div class="notice notice-info notice-alt inline"> <p> <?php                     printf(
                        
Home | Imprint | This part of the site doesn't use cookies.