acf/get_invalid_field_value
acf/get_invalid_field_value
Appears in: advanced-custom-fields.6.1.4
Hook Type: action
Displaying hooks found in version: advanced-custom-fields.6.1.4do_action('acf/get_invalid_field_value') is found 1 times:
- /includes/acf-value-functions.php line 72
// If we don't have a proper field array, the field doesn't exist currently. if ( empty( $field['type'] ) && empty( $field['key'] ) ) { // Check if we should trigger warning about accessing fields too early via action. do_action( 'acf/get_invalid_field_value', $field, __FUNCTION__ ); if ( apply_filters( 'acf/prevent_access_to_unknown_fields', false ) || ( 'option' === $decoded['type'] && 'options' !== $decoded['id'] ) ) { $allow_load = false; } }