Insert one Inputfield after one that’s already there.
Note: string or array values for either argument require 3.0.196+.
Usage
$inputfieldWrapper->insertAfter($item, $existingItem);
Arguments
Name | Type(s) | Description |
---|---|---|
item | Inputfield, array, string | Item to insert |
existingItem | Inputfield, string | Existing item you want to insert after. |
Return value
$this
Object instance it was called from (method supports fluent interface).
InputfieldWrapper methods and properties
API reference based on ProcessWire core version 3.0.200