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
- The topic ‘configuring the timestamp within a plugin’s function’ is closed to new replies.