I have simple variable
$body = array(
'content' => 'content test',
'is_sanitize' => true,
'sanitize_replacement' => '***',
'meta' => array(
'name' => 'another',
'email' => 'another@email.com'
)
);
When i use build_http_query($body), it give me
content=content%20test&is_sanitize=1&meta=another&meta=another%40email.com&sanitize_replacement=%2A%2A%2A
the question is where the ‘name’ and ’email’ key ? why build_http_query not add those key ?
Thanks
The result should be:
Note: not
build_http_querybuthttp_build_query.