name = 'sidebar'; $this->label = __("Sidebar",'WMAMC_acf_sidebar'); $this->category = __("Choice",'WMAMC_acf_sidebar'); $this->defaults = array( 'multiple' => 0, 'allow_null' => 0, 'choices' => array(), 'default_value' => '' ); // do not delete! parent::__construct(); // settings $this->settings = $settings; } /* * create_options() * * Create extra options for your field. This is rendered when editing a field. * The value of $field['name'] can be used (like below) to save extra data to the $field * @param $field - an array holding all the field's data */ function create_options( $field ) { $key = $field['name']; // Create Field Options HTML ?>