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)


Top ↑

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 );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.





Permalink: