Add dynamic return type extension for `get_sites()`
swissspidy opened this issue ยท 2 comments
swissspidy commented
The get_sites()
function in WordPress returns of WP_Site[]
, int[]
when 'fields' is set to 'ids', or int
when 'count' is passed as a query var.
szepeviktor commented
Hello Pascal!
We need a diligent contributor! ๐
szepeviktor commented
๐ก Viktor does not let others set up multisite installations.
if (multisite) then exit!