Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // create new category
- $parentCatId = 40; // as an example
- $newCategoryId = $proxy->call(
- $sessionId,
- 'category.create',
- array(
- $parentCategoryId,
- array(
- 'name'=>'New Category!',
- 'is_active'=>1,
- 'is_anchor'=>1
- )
- )
- );
- ?>
Add Comment
Please, Sign In to add comment