acf_prepare_field_for_import()
acf_prepare_field_for_import
Returns a modified field ready for import. Allows parent fields to modify themselves and also return sub fields.
Хуки из функции
Возвращает
Массив
.
Использование
acf_prepare_field_for_import( $field );
- $field(массив) (обязательный)
- The field array.
Список изменений
С версии 5.0.0 | Введена. |
Код acf_prepare_field_for_import() acf prepare field for import ACF 6.0.4
function acf_prepare_field_for_import( $field ) { /** * Filters the $field array before being returned to the import tool. * * @date 12/02/2014 * @since 5.0.0 * * @param array $field The field array. */ return apply_filters( 'acf/prepare_field_for_import', $field ); }