function si_project_start_date($id = 0) { if (!$id) { global $post; $id = $post->ID; } echo apply_filters('si_project_start_date', date_i18n(get_option('date_format'), si_get_project_start_date($id)), $id); }
function si_project_start_date($id = 0) { if (!$id) { $id = get_the_ID(); } echo apply_filters('si_project_start_date', date_i18n(get_option('date_format'), si_get_project_start_date($id)), $id); }