Get the categories on the current site and filter them using certain parameters.
| Name | Type | Description |
| limit | int | The number of categories to return |
| offset | int | The offset for the first category |
| ids | string | A comma delimited list of category IDs to get information about. Leave blank to load all categories. |
<?php
$ids=array(40,41);
$response=$newhaze->api->categories_get($ids,$limit,$offset);
?>
Array
(
[0] => stdClass Object
(
[id] => 40
[name] => Action
)
[1] => stdClass Object
(
[id] => 41
[name] => Adventure
)
)
[{"id":"40","name":"Action"},{"id":"41","name":"Adventure"}]
© 2012 NewHaze Icons by Pixel Mixer Help