From 24d080b82d77aa512fed9d0a4dfb24886baef9ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Droz?= Date: Fri, 27 Aug 2021 11:03:35 -0300 Subject: [PATCH] acf_maybe_get_field($strict = false) by default See #32 --- includes/api/api-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/api-template.php b/includes/api/api-template.php index 01f4f945..0e3492c7 100644 --- a/includes/api/api-template.php +++ b/includes/api/api-template.php @@ -156,7 +156,7 @@ function get_field_object( $selector, $post_id = false, $format_value = true, $l * @param $strict (boolean) if true, return a field only when a field key is found. * @return $field (array) */ -function acf_maybe_get_field( $selector, $post_id = false, $strict = true ) { +function acf_maybe_get_field( $selector, $post_id = false, $strict = false ) { // init acf_init();