Birthday List
add_action( ‘acf/include_fields’, function() {
if ( ! function_exists( ‘acf_add_local_field_group’ ) ) {
return;
}
acf_add_local_field_group( array(
‘key’ => ‘group_643ad2df57e4f’,
‘title’ => ‘Birthday’,
‘fields’ => array(
array(
‘key’ => ‘field_643ad2e0ec3e2’,
‘label’ => ‘Birthday’,
‘name’ => ‘birthday’,
‘aria-label’ => ”,
‘type’ => ‘date_picker’,
‘instructions’ => ”,
‘required’ => 0,
‘conditional_logic’ => 0,
‘wrapper’ => array(
‘width’ => ”,
‘class’ => ”,
‘id’ => ”,
),
‘display_format’ => ‘F j, Y’,
‘return_format’ => ‘F j, Y’,
‘first_day’ => 0,
),
),
‘location’ => array(
array(
array(
‘param’ => ‘post_type’,
‘operator’ => ‘==’,
‘value’ => ‘post’,
),
),
),
‘menu_order’ => 1,
‘position’ => ‘side’,
‘style’ => ‘default’,
‘label_placement’ => ‘left’,
‘instruction_placement’ => ‘label’,
‘hide_on_screen’ => ”,
‘active’ => true,
‘description’ => ”,
‘show_in_rest’ => 0,
) );
} );