acf/render_fields хук-событие . ACF 5.0.0
Fires after fields have been rendered.
@param array $fields An array of fields. @param (int|string) $post_id The post ID to load values from.
Использование
add_action( 'acf/render_fields', 'action_function_name_1613', 10, 2 ); function action_function_name_1613( $fields, $post_id ){ // action... }
- $fields
- -
- $post_id
- -
Список изменений
С версии 5.0.0 | Введена. |
Где вызывается хук
acf/render_fields
acf/includes/acf-field-functions.php 616
do_action( 'acf/render_fields', $fields, $post_id );