/** * Registers the sidebars. * * @return void */ function ftt_widgets_setup() { $desc = ftt_string(1); register_sidebar(array('name' => ftt_string(2), 'id' => 'head', 'description' => $desc, 'before_widget' => '', 'after_widget' => '', 'before_title' => '', 'after_title' => '')); register_sidebar(array('name' => ftt_string(3), 'id' => 'foot', 'description' => $desc, 'before_widget' => '', 'after_widget' => '', 'before_title' => '', 'after_title' => '')); }
/** * @uses apply_filters( 'magic_widgets_name' ) */ public function __construct() { parent::__construct('unfiltered_text', ftt_string(4), array('description' => ftt_string(5)), array('width' => 300, 'height' => 150)); }