Skip to content

Instantly share code, notes, and snippets.

@timothyjensen
Created March 1, 2017 02:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timothyjensen/78de2ed7c8f9bc28507d699be8ce8d77 to your computer and use it in GitHub Desktop.
Save timothyjensen/78de2ed7c8f9bc28507d699be8ce8d77 to your computer and use it in GitHub Desktop.
Example config for get_all_custom_field_meta()
<?php
$config = array(
array(
'name' => 'prefix_subtitle',
),
array(
'name' => 'prefix_content_row',
'sub_fields' => array(
array(
'name' => 'css_classes',
),
array(
'name' => 'background_color',
),
array(
'name' => 'columns',
'sub_fields' => array(
array(
'name' => 'column',
),
),
),
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment