Skip to content

Instantly share code, notes, and snippets.

View parthtechcompose's full-sized avatar

parthtechcompose

View GitHub Profile
<?php
$settings=array(
/* (string) Unique identifier for the form. Defaults to 'acf-form' */
'id'=>'acf-form',
/* (int|string) The post ID to load data from and save data to. Defaults to the current post ID.
Can also be set to 'new_post' to create a new post on submit */
'post_id'=>false,