The AcrossAI blog
Archives: Abilities
Get ACF Block Fields
The field tree behind one ACF block — name, key, type, label, required and default — with repeaters and groups nesting their sub-fields and…
List ACF Blocks
Every ACF block registered on the site, with its name, title, category, the field groups bound to it and how many fields those hold.…
Remove Flexible Content Layout
Remove one layout from a flexible-content field by its 1-based index, taking its values with it. Later layouts shift down. Refuses a plain repeater,…
Add Flexible Content Layout
Append a named layout to a flexible-content field, or insert it at a 1-based position, with its sub-field values in the same call. Refuses…
Reorder Repeater Rows
Reorder a repeater or flexible-content field by supplying the new order as 1-based indexes. Must be a complete permutation — a partial list is…
Remove Repeater Row
Delete one row from a repeater or flexible-content field by its 1-based index. Rows after it shift down, so removing several means working downwards.…
Update Repeater Row
Patch one row of a repeater or flexible-content field by its 1-based index. Sub-fields you do not name keep their values, and an out-of-range…
Add Repeater Row
Append one row to a repeater or flexible-content field, or insert it at a 1-based position — one call instead of the read-modify-write of…
Delete ACF Field Value
Clear one ACF field value through delete_field(), which also removes the field-key reference row and every sub-field row under a repeater. Refuses to run…
Update Multiple ACF Field Values
Write several ACF field values on one target in a single call, with per-field updated and failed buckets so a partial success stays visible…