Use the post_date_column_time
filter to change the time format. The documentation says it changes the “published time of the post”, but it will change the scheduled time as well (ticket).
Tested:
add_filter( 'post_date_column_time', static function ( $time, $post ) {
if ( 'wp_events' !== get_post_type( $post ) || 'future' !== get_post_status( $post ) ) {
return $time;
}
return sprintf(
__( '%1$s at %2$s' ),
get_the_time( __( 'F jS, Y' ), $post ),
get_the_time( __( 'g:iA' ), $post )
);
}, 10, 2 );
Related Posts:
- Help Creating a Slideshow Custom Post Type with Custom Meta Boxes?
- Custom field values deleted when trashing custom post type
- Search multiple custom fields by using meta_query
- Custom Post Type – Taxonomy Dropdown Menu?
- How do I implement custom fields without using any plugins?
- How I check if the same post slug has not been used before publishing?
- How to sort a table of custom posts by column containing custom field
- Issue with saving custom post type when editor is removed
- order by meta_value serialized array
- convert Custom Fields Option-Values to Tags/Taxonomy
- Automatically Insert Custom Field on Custom Post Type Publish
- Display custom post types with custom date field value (before today) & order by custom date field
- How to have the right design for a custom post type without accessing themes
- How to add the post ID (or any other post data) to a Contact Form 7 mail?
- Create a post in custom post type using field in registration form after users submit form
- WordPress custom meta field for custom post not storing data
- Conditional regex in add_rewrite_rule() for specific query filters & pagination
- How to Duplicate (multiple meta box)?
- List all images from a single post meta value
- WP_Query: include custom post type only with specific meta value
- Is there a way to get a file URL from the relationship ACF field?
- Want to Add Custom Fields for Uploading video to WordPress Users from front end
- Meta Key Value in current-user-only loop
- How can I dynamically add a post to a custom post type which uses a custom field?
- Custom Posts Types as Custom Fields
- dynamically add a custom field or metabox to custom post type [duplicate]
- How to implement a Google map store locator
- Random image from tag/custom type on sidebar
- Query & Order posts by custom fields
- Set a maxlength for the title input in a custom post type
- Update Post Meta for a logged in user
- Problem querying Custom post type by custom fields
- Using custom field content as expression in IF statement [closed]
- ACF From & To Date Validations
- Query Multiple Custom Posts by Custom Fields
- Disable saving posts as draft (make all posts mandatory regardless of the post status)
- Woocommerce custom field search in custom post type [closed]
- Custom REST endpoints for a custom post type with custom fields
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Meta Query posts not showing on ending date of custom field
- Cross reference custom post types
- frontend image post uploader
- Custom Post Fields at the beginning of a Custom Permalink
- Show fields based on taxonomy selection in editor
- Permalinks: custom structure for taxonomy – tags?
- How to Get the title of a custom field?
- Create custom post with meta field with AJAX and the WordPress REST API
- Specifying meta field’s column type in Database using add_post_meta
- How to customize work area / admin area in a custom post type without plugins?
- ACF in wordpress
- Creating custom post type with custom taxonomy and custom fields programatically
- delete_post_meta() for whole CPT / multiple posts?
- How to inherit field value from parent post into in child / sub post
- hide specific div on single.php [closed]
- How to get_term_meta on single custom post?
- How do you output an unknown number of images in a custom post type with desired markup?
- posttype and custom fields on multisite
- Custom Fields not showing up for custom post type
- Custom post type in Custom widget – $listItem
- Generating and downloading files with WP API
- Displaying information from custom field on custom post type
- Add a class to post_class if more than one post shares same meta_value_num
- Add a meta field to the list of results for a custom post type
- Order custom posts by taxonomy, then by meta_key
- Adding a Custom Field to be used by Posts 2 Posts
- Front-end Image Upload to Custom Meta Box
- How do I list a custom field and custom taxonomies for each result in a loop?
- Custom fields for post or terms which don’t update on post update
- order the meta query results by 2 custom fields
- ACF – Retrieve custom taxonomy from a relationship field
- how to skip a CPT element from the pager by custom field
- How to Print Title and Permalink of CPT Post behalf of Posts Meta Value with WP_Query
- Updating a custom post status after an expiry date rather than trashing it
- How can I query and sort custom-post type using WP_Query
- Meta query and compare “!=” not working as expected
- How to add dynamic fields on wordpress custom post type page in admin section
- How can I add a meta[] to my custom post type and search by term with the Rest API?
- Creating an archive page or simple template to list all values of a custom field of specific post type listing
- Problem with multi checkboxes value in metabox?
- How to Disable option of meta field if that option is selected for any other post in custom post type?
- Query posts by multiple custom fields
- Run query on specific admin options page and send results to select field in another function
- get_previous_post_link and get_next_post_link of custom post type that share custom field value
- Automatically assign posts with custom field to taxonomy term
- Attach several custom posts to one meta field
- WordPress query in which condition uses custom field
- Error in WP Query. If variable is empty it is displaying previous post value
- Show first posts with custom field not empty and order all by title
- How to add post reference field to a plugin?
- Custom post type won’t take my custom fields
- Echo custom field value
- Rewriting a page driven by custom fields to populate a page dynamically, like posts
- add comments custom fields after user is logged in
- Save multiple checkboxes with Types
- How do I add a new field/meta box to the Custom Post Type Portfolio in the Kaboodle Wootheme?
- Get Posts ordered by a date custom meta field
- Function to Compare CPT Post Custom Value with Default Posts CF Value
- Display code if title of the custom post matches title of other post
- Sort CPT by taxonomy AND THEN by custom field
- Use Custom Field to Display Post Loop