touch_time


touch_time ( $edit = 1, $for_post = 1, $tab_index = 0, $multi = 0 )

Parameters:
  • (int|bool) $edit Accepts 1|true for editing the date, 0|false for adding the date.
  • (int|bool) $for_post Accepts 1|true for applying the date to a post, 0|false for a comment.
  • (int) $tab_index The tabindex attribute to add. Default 0.
  • (int|bool) $multi Optional. Whether the additional fields and buttons should be added. Default 0|false.
Defined at:
Change Log:
  • 4: .

Description

Print out HTML form date elements for editing post or comment publish date.

Related Functions

the_time, get_the_time, switch_theme, the_title, get_post_time

Top Google Results

User discussions

wpseek mobile