Skip to content

Instantly share code, notes, and snippets.

@pburke
pburke / takeout-discovery.json
Created December 10, 2023 23:15 — forked from stewartmcgown/takeout-discovery.json
Google Takeout API
{
"title": "Takeout API",
"discoveryVersion": "v1",
"ownerName": "Google",
"version_module": true,
"resources": {
"exports": {
"methods": {
"get": {
"flatPath": "v2/{service}/exports/{exportId}",
@pburke
pburke / acf_page_ancestor.php
Created May 28, 2015 15:15
ACF Page Ancestor rule
<?php
/**
* Modified from: https://github.com/zzgael/wordpress-acf-custom-location-rule-descendant-of-page
*/
add_filter('acf/location/rule_types', 'custom_acf_location_rules_types');
function custom_acf_location_rules_types( $choices ) {
$choices['Page']['page_ancestor'] = 'Page Ancestor';
return $choices;
}
@pburke
pburke / keybase.md
Created September 25, 2014 14:54
Keybase Proof

Keybase proof

I hereby claim:

  • I am pburke on github.
  • I am pburke (https://keybase.io/pburke) on keybase.
  • I have a public key whose fingerprint is 736B 92BB 3200 103F FFD3 EB57 D921 D880 BDCD C8E0

To claim this, I am signing this object: