|
156 | 156 | 'get_terms' => ["(\$args is array{fields: 'count'}&array ? numeric-string : (\$args is array{fields: 'names'|'slugs'}&array ? list<string> : (\$args is array{fields: 'id=>name'|'id=>slug'}&array ? array<int, string> : (\$args is array{fields: 'id=>parent'}&array ? array<int, int> : (\$args is array{fields: 'ids'|'tt_ids'}&array ? list<int> : array<int, \WP_Term>)))))|\WP_Error", 'deprecated' => "''"], |
157 | 157 | 'get_the_author' => [null, 'deprecated' => "''"], |
158 | 158 | 'get_the_permalink' => ['($post is \WP_Post ? string : string|false)'], |
| 159 | + 'get_transient' => [null, '@phpstan-impure' => ''], |
159 | 160 | 'get_user' => ['($user_id is int<min, 0> ? false : \WP_User|false)'], |
160 | 161 | 'get_user_by' => ["(\$field is 'id'|'ID' ? (\$value is int<min, 0> ? false : \WP_User|false) : \WP_User|false)"], |
161 | 162 | 'get_user_option' => [null, 'deprecated' => "''"], |
|
295 | 296 | 'wp_list_pages' => ['($args is array{echo: false}&array ? string : void)'], |
296 | 297 | 'wp_list_post_revisions' => ['void', 'type' => "'all'|'revision'|'autosave'"], |
297 | 298 | 'wp_loginout' => ['($display is true ? void : string)'], |
| 299 | + 'wp_mail' => [null, '@phpstan-impure' => ''], |
298 | 300 | 'wp_media_insert_url_form' => ['non-falsy-string'], |
299 | 301 | 'wp_nav_menu_manage_columns' => ["array{_title: string, cb: '<input type=\"checkbox\" />', link-target: string, title-attribute: string, css-classes: string, xfn: string, description: string}"], |
300 | 302 | 'wp_next_scheduled' => [null, 'args' => $cronArgsType], |
|
0 commit comments