acf/get_invalid_field_value

acf/get_invalid_field_value

Hook Type: action

See hook in core

Displaying hooks found in version: advanced-custom-fields.5.12

do_action('acf/get_invalid_field_value') is found 1 times:

  • /includes/acf-value-functions.php line 72
    		if ( apply_filters( 'acf/prevent_access_to_unknown_fields', false ) || ( 'option' === $decoded['type'] && 'options' !== $decoded['id'] ) ) {
    			return null;
    		}
    
    		do_action( 'acf/get_invalid_field_value', $field, __FUNCTION__ );
    	}
    
    	// Check store.
    	$store = acf_get_store( 'values' );
    	if ( $store->has( "$post_id:$field_name" ) ) {
    		return $store->get( "$post_id:$field_name" );