acf/bindings/field_not_allowed_message
Использование
add_filter( 'acf/bindings/field_not_allowed_message', 'wp_kama_acf_bindings_field_not_allowed_message_filter' );
/**
* Function for `acf/bindings/field_not_allowed_message` filter-hook.
*
* @param $string
*
* @return
*/
function wp_kama_acf_bindings_field_not_allowed_message_filter( $string ){
// filter...
return $string;
}
- $string
- -
Где вызывается хук
acf/bindings/field_not_allowed_message
acf/src/Blocks/Bindings.php 75
return apply_filters( 'acf/bindings/field_not_allowed_message', '[' . esc_html__( 'The requested ACF field is not allowed to be output in bindings or the ACF Shortcode.', 'acf' ) . ']' );