calendarID from cal.csv can be used at path param in
https://developers.google.com/calendar/v3/reference/calendars/get
https://developers.google.com/calendar/v3/reference/events/list
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| scriptencoding utf-8 | |
| let s:calendar_list = [ | |
| \ ['Australian Holidays', 'en.australian#holiday@group.v.calendar.google.com'], | |
| \ ['Austrian Holidays', 'en.austrian#holiday@group.v.calendar.google.com'], | |
| \ ['Brazilian Holidays', 'en.brazilian#holiday@group.v.calendar.google.com'], | |
| \ ['Canadian Holidays', 'en.canadian#holiday@group.v.calendar.google.com'], | |
| \ ['China Holidays', 'en.china#holiday@group.v.calendar.google.com'], | |
| \ ['Christian Holidays', 'en.christian#holiday@group.v.calendar.google.com'], | |
| \ ['Danish Holidays', 'en.danish#holiday@group.v.calendar.google.com'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // populate acf field (sample_field) with post types (sample_post_type) | |
| function acf_load_sample_field( $field ) { | |
| $field['choices'] = get_post_type_values( 'sample_post_type' ); | |
| return $field; | |
| } | |
| add_filter( 'acf/load_field/name=sample_field', 'acf_load_sample_field' ); | |
| function get_post_type_values( $post_type ) { | |
| $values = array(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function ($) { | |
| "use strict"; | |
| /*global wp,jQuery */ | |
| var CustomGalleryEdit,CustomFrame; | |
| function customClasses() { | |
| var media = wp.media; | |
| var l10n = media.view.l10n; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Default Body Class Styles | |
| */ | |
| .rtl {} | |
| .home {} | |
| .blog {} | |
| .archive {} | |
| .date {} | |
| .search {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| define( 'DB_NAME', '' ); | |
| define( 'DB_USER', '' ); | |
| define( 'DB_PASSWORD', '' ); | |
| define( 'DB_HOST', '127.0.0.1' ); | |
| define( 'WPLANG', '' ); | |
| define( 'WP_DEBUG', true ); | |
| define( 'SCRIPT_DEBUG', true ); |