January 2013

11
Jan
2013
Grayside

Programmatically Save a Block Configuration

It looks like the Block API still leaves something to be desired: The only way to “properly” save the various region, title, and visibility settings of a block is using a form submission. This is a bit of a work-in-progress as far as documentation, but the function works as a simple wrapper of the form submit.