LLMS_Post_Model::get_date_format()
Retrieve the default date format for the post model This *can* be overridden by child classes if the post type requires a different default date format If no format is supplied by the child class, the default WP date & time formats available via General Settings will be combined and used
Description Description
Return Return
(string)
Source Source
File: includes/abstracts/abstract.llms.post.model.php
protected function get_date_format() { $format = get_option( 'date_format' ) . ' ' . get_option( 'time_format' ); return apply_filters( 'llms_get_' . $this->model_post_type . '_date_format', $format ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: