Closed pretzlaw closed 3 years ago
Hi. While not exactly the way you asked, but in current implementation you can achieve same completion this way:
upd.: oh, though +=
does not overwrite existing keys... I think same completion should have been working with array_merge
and array_replace
, but it seems it does not anymore.
I want to implement this, but dunno when I'll get the time...
Released in 2020.12.21.001
I did not implement few features that could go nicely with this:
$arr['key1'][$i]['key2']
=
and ;
)If anyone is positive that some of them are worth implementig, ping me please, I'll spend some more time on this then.
An array is filled to be used in an function:
When adding another field I use autocomplete to get all the possible fields.
Unfortunately only the fields that are defined in
$this->createCommentData()
can be seen. The fields thatwp_update_comment
allows are not shown (e.g. "comment_ID").But when using the variable in some future context it would be great if the autocomplete shows those accepted fields too.
Notes: