ACF & PHP-API (WordPress)

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen

How can you automatically manage ACF fields? In particular, fill in, delete and edit?

Not directly at database level

To start with some bad news: While ACF fields are stored in tables wp_options or wp_postmeta, you cannot write directly to these tables to create ACF fields. Then the 'context' is missing, eg a repeater. So you have to do it via an API call.

See also

Sources