WordPress: PHP - register custom widgets