configuring the timestamp within a plugin’s function
-
I’m developing a widget for WP-Dash that will display all upcoming concerts (the scheduled entries div from the existing dashboard) and need help configuring the timestamp.
Here is the main output code:
$output .= "<li><a href='post.php?action=edit&post=$post->ID' title='edit this post'>$post->post_title</a> on $post->post_date </li>";
For now I have the$post->post_datebecause it has been the only thing to actually work. I would like to be able to configure it to display as a php date format such as('m/d/Y')
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘configuring the timestamp within a plugin’s function’ is closed to new replies.