-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfunctions.php
54 lines (53 loc) · 1.41 KB
/
functions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
if (function_exists('acf_add_local_field_group')) :
acf_add_local_field_group(array (
'key' => 'group_59840e6d0b343',
'title' => 'Posts Builder',
'fields' => array (
array (
'key' => 'field_59840e7fe1793',
'label' => 'Related Post',
'name' => 'related_post',
'type' => 'relationship',
'instructions' => '',
'required' => 0,
'conditional_logic' => 0,
'wrapper' => array (
'width' => '',
'class' => '',
'id' => '',
),
'post_type' => array (
),
'taxonomy' => array (
),
'filters' => array (
0 => 'search',
1 => 'post_type',
2 => 'taxonomy',
),
'elements' => '',
'min' => '',
'max' => '',
'return_format' => 'object',
),
),
'location' => array (
array (
array (
'param' => 'post_type',
'operator' => '==',
'value' => 'df_post_builder',
),
),
),
'menu_order' => 0,
'position' => 'normal',
'style' => 'default',
'label_placement' => 'top',
'instruction_placement' => 'label',
'hide_on_screen' => '',
'active' => 1,
'description' => '',
));
endif;