Skip to content

Instantly share code, notes, and snippets.

View shellycole's full-sized avatar

Shelly Cole shellycole

  • Brass Blogs Web Design
  • CT
View GitHub Profile
@Jany-M
Jany-M / wp_ics.php
Last active September 19, 2023 03:15 — forked from jakebellacera/ICS.php
[WP] Generate a downloadable .ics file from any WordPress post or custom post type
<?php
/*
For a better understanding of ics requirements and time formats
please check https://gist.github.com/jakebellacera/635416
*/
// UTILS
// Check if string is a timestamp