Apologies for the off-topic question. I found the answer on StackOverflow, it’s a PHP question not specific to WordPress. The following code changes the format as required. From https://stackoverflow.com/questions/2487921/convert-a-date-format-in-php
<?php $new_checkin = date('jS F Y', strtotime($checkin)); ?>
<?php echo esc_html( $new_checkin ); ?>
Related Posts:
- Date calculations from 2 custom fields
- Facebook Messager Plugin
- the_posts_pagination() not working if I add wp_head() to header.php
- Call function with button and return response
- Why is WP template_include overwritting all templates rather than specified page?
- How to echo a plugin’s function into a template?
- How to get next day date of a specific day
- Create custom page templates with plugins?
- How do I replace a function, declared inside a plugin’s class, in functions.php?
- Consuming an external API in WordPress?
- Shared functionality in plugins and themes
- Prevent publishing the post before setting a featured image?
- How to Loop Plugin Option Field Set?
- Can we completely remove the WordPress Sitemaps (WordPress 5.5)?
- How to load plugin before the wordpress jquery?
- Disabling post images for not logged in users
- wordpress custom login successful redirect hook
- Extend Elementor Archive Posts widget with a custom skin in order to show multiple badges
- HELP: Integrating WP with raw PHP code once published button is hit
- How to redirect Old Post URL to new Post and keep Old post Comments?
- Modifying Footnote Plugin for Descriptive Title Attributes
- I would like to use create a function in my custom plugin to tell WP to use a different header
- Plugin shortcode won’t work on a custom template file [closed]
- bulk change of image setting “link to” to “link to: image url “
- Limit the number of plugins that can be installed in a WordPress installation
- How to get variables from fucntion.php to my plugin files
- How to stop or remove an action being called inside a function of an extended class
- load_plugin_textdomain error
- List Category Posts rewrite necessitates rewrite of customised templates
- How to debug error message: Cannot modify header information
- How to enable specific plugin only based around shop manager role?
- Adding a new field to the address field type in gravity forms
- Nested shortcode functions accessing variable
- Calling an attribute from a plugin shortcode
- How to set Noindex to all wordpress pages in a catergory?
- Redirect to another page using contact form 7? [closed]
- changing posts layout in ultimate member profile plugin
- Load Javascript from Plugin in One Page Only?
- How to keep variable `$post` to using in another file
- Where to find the code used to render a page that has a shortcode and a template defined?
- Plugin Development – Functions or Hooks?
- wp_dequeue_script for a Plugin
- Plugin Admin Menu Boiler Plate
- wc_get_template new template does not showing up
- Overriding an Array in a Plugin’s Class/Function from functions.php
- How do I create a custom permalink structure for a page template
- How to remove a class function from a plugin by using remove_action()?
- How to use template inside plugin shortcode with variables for big HTML code
- Change Header (Logo) Based on Login
- How can i list random author?
- Can you echo PHP code from a variable?
- Defining the value of a variable before a function?
- How to get custom minimum price in Woocommerce
- Dynamic URL Rewrite for Custom
- how to validate input field in wordpress generated with wpform plugin
- Error using wordpress functions inside a plugin class
- Share my WordPress plugin for updating how?
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- The function called on the wp head hook becomes null
- Submitting form to PHP
- How to detect 404 url and make this link underline or change background color?
- working code, not working – Plugin Dev
- How use get_plugin_updates() function?
- how override a define
- How to Unhook actions/filters in within Class in plugin
- Change Jobs for WordPress templates
- how to do Thematic like this website using wordpress?
- How to disable/enable a plugin at a specific time
- Configuring default woo commerce login with modal popup
- Dynamically Modify s2member Options
- Template conflict with WC Payment Method
- register_activation_hook doesn’t fire at all
- How to add HTML to a template only when user is logged out/ not registered
- My ajax request don´t work and return 0
- How can I add a custom checkbox / radio button on the admin theme options to display a CSS or other?
- How to delete posts older than one year with post meta, post attachments and files?
- Adding a custom page template to a plugin generated page
- History of page, interval of years
- How to add dynamic content to posts page, archive, taxonomies, search, author, etc?
- custom template only for content
- Create csv file in plugin
- Posting code inside the post instead of in the template file using shortcode
- Load wordpress enviroment for external content?
- How do add_action and WP_Query
- Is there any simple wordpress search template that works with existing searchforms?
- How to structure plugin in to functions?
- overwrite a plugin function in functions.php
- How to disable register and reset the password from WordPress admin panel?
- How to tweak a plugin without preventing it from updating
- What is wrong with this dbDelta syntax?
- Call a function with href
- Adding a script & php to functions.php
- Divi Template A Few Questions
- Override the plugin class and function
- Activate and deactivate two plugins automatically at certain hours
- Create WordPress category dynamically
- How to Add Extra Text In WordPress Title Before Post Publish
- WordPress Convert queries to slashes using function.php
- Simple ajax request with Vanilla JS keeps given 400 Bad Request
- Load a custom post type template.html from a plugin