Skip to content

Instantly share code, notes, and snippets.

@timothyjensen
Created March 1, 2017 02:22
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/573ac674fad29a77c0dcdfb6904cc8e6 to your computer and use it in GitHub Desktop.
Save timothyjensen/573ac674fad29a77c0dcdfb6904cc8e6 to your computer and use it in GitHub Desktop.
Example output of get_all_custom_field_meta()
<?php
array(
'prefix_subtitle' => 'This is the subtitle',
'prefix_content_row' => array(
array(
'css_classes' => 'extra-class row-1',
'background_color' => '1',
'columns' => array(
array(
'column' => 'Row 1 column 1',
),
array(
'column' => 'Row 1 column 2',
),
),
),
array(
'css_classes' => 'extra-class row-2',
'background_color' => '3',
'columns' => array(
array(
'column' => 'Row 2 column 1',
),
array(
'column' => 'Row 2 column 2',
),
array(
'column' => 'Row 2 column 3',
),
),
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment