日期和时间格式被分别存储为选项。 使用get_option()来检索值。 例如:$date_format = get_option( 'date_format' ); // e.g. "F j, Y" $time_format = get_option( 'time_format' ); // e.g. "H:i:s"