Can't programmatically hide a custom block

Right-clicking the palette and clicking hide blocks... works, but run {hide variable []} with inputs {block to hide} with block to hide being custom does not work.
https://snap.berkeley.edu/snap/snap.html#present:Username=snapenilk&ProjectName=hide%20custom%20block

there's an extension primitive for that...