Add ACF extended field programmatically
-
Hi, I’m sorry but even after a long time of searching I didn’t get the answer to my question:
How to add an ACF extended field programmatically within my plugin?
I tried to add the button field the same way I’d add any other ACF field
array ( 'key' => 'field_termination_button', 'label' => __( 'Terminate contract', 'rentiq' ), 'name' => 'termination_button', 'type' => 'button', 'button_type' => 'button', 'prefix' => 'rentiq_', )
but it doesn’t do anything.
Am I missing something substantial here or this just isn’t how the extended fields work?Thanks! Martin
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Add ACF extended field programmatically’ is closed to new replies.