diff --git a/functionMap.php b/functionMap.php index 6fe36ba..313c360 100644 --- a/functionMap.php +++ b/functionMap.php @@ -253,6 +253,7 @@ 'wp_generate_uuid4' => ['lowercase-string&non-falsy-string', '@phpstan-impure' => ''], 'wp_get_archives' => ['($args is array{echo: false|0, ...} ? string|void : void)'], 'wp_get_comment_status' => ["'approved'|'spam'|'trash'|'unapproved'|false"], + 'wp_get_development_mode' => ["''|'all'|'core'|'plugin'|'theme'"], 'wp_get_elements_class_name' => ['lowercase-string&non-falsy-string'], 'wp_get_http_headers' => [null, 'deprecated' => 'false'], 'wp_get_inline_script_tag' => ['non-falsy-string', 'attributes' => 'array'], diff --git a/tests/data/return/wp-get-development-mode.php b/tests/data/return/wp-get-development-mode.php new file mode 100644 index 0000000..f320b9e --- /dev/null +++ b/tests/data/return/wp-get-development-mode.php @@ -0,0 +1,14 @@ +