Support » Plugin: Advanced Custom Fields (ACF) » Get field in acf_form

Viewing 1 replies (of 1 total)
  • Thread Starter Matteo Legittimo

    (@mattleg)

    Solved

    $field = $_POST[‘fields’];

    // Create a new post
    $post = array(
    ‘post_status’ => ‘draft’ ,
    ‘post_title’ => $field[‘field_53441cc439e2c’] ,
    ‘post_content’ => $field[‘field_53441cf839e2d’]
    );

Viewing 1 replies (of 1 total)
  • The topic ‘Get field in acf_form’ is closed to new replies.