Skip to content

Instantly share code, notes, and snippets.

View dennisenderink's full-sized avatar
👟
Working

Dennis Enderink dennisenderink

👟
Working
View GitHub Profile

Keybase proof

I hereby claim:

  • I am dennisenderink on github.
  • I am enderink (https://keybase.io/enderink) on keybase.
  • I have a public key whose fingerprint is 6DCF 4AE4 DBF2 67B4 E2D8 F6F9 8659 DF9D 3F66 9278

To claim this, I am signing this object:

@dennisenderink
dennisenderink / facetwp-acf.php
Created January 21, 2015 10:11
FacetWP ACF custom field options
<?php
add_filter('facetwp_facet_html', 'de_acf_facetwp_options', 10, 2);
function de_acf_facetwp_options($output, $params)
{
// map field key
$fieldKeys = [
'custom_field_name_1' => 'field_{key}',
];
// get clean custom field source