Skip to content

Conversation

@mikemanger
Copy link
Contributor

Updates the stubs for 2.9.22 which has some types improvements.

I've also added some overrides for common helper functions that are documented incorrectly in the plugin:

  • rgarg/rgargs The default parameter can accept mixed, same as the return type
  • rgget/rgpost Can return an array when working with input groups

The function map code was lifted from the ACF repository.

@szepeviktor
Copy link
Member

What a great PR!

Have you talked to @mikemanger about merging this? 🙃

@szepeviktor
Copy link
Member

szepeviktor commented Nov 20, 2025

core stubs have a problem #394

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants