acf/decode_post_id хук-фильтр . ACF 5.0.0
Filters the $data array after it has been decoded.
Использование
add_filter( 'acf/decode_post_id', 'filter_function_name_6308', 10, 2 ); function filter_function_name_6308( $data, $post_id ){ // filter... return $data; }
- $data(массив)
- The type and id array.
- $post_id
- -
Список изменений
С версии 5.0.0 | Введена. |
Где вызывается хук
acf/decode_post_id
acf/includes/acf-meta-functions.php 59
return apply_filters( "acf/decode_post_id", $data, $post_id );