image_attachment_fields_to_edit()
Retrieves the image attachment fields to edit form fields.
Хуков нет.
Возвращает
Массив<Строку,. array<string, mixed>> The attachment form fields.
Использование
image_attachment_fields_to_edit( $form_fields, $post );
- $form_fields(массив) (обязательный)
- .
- $post(объект) (обязательный)
- .
Список изменений
| С версии 2.5.0 | Введена. |
Код image_attachment_fields_to_edit() image attachment fields to edit WP 7.0.2
function image_attachment_fields_to_edit( $form_fields, $post ) {
return $form_fields;
}