Last active
August 29, 2015 14:13
-
-
Save westonruter/cbd9dba93fcb9d928763 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Wide_Widget extends WP_Widget { | |
public function __construct() { | |
$id_base = 'wide'; | |
$name = __( 'So Wide'); | |
$widget_options = array( | |
'description' => __( 'Behold my size!' ), | |
); | |
$control_options = array( | |
'width' => 600, | |
'height' => 500, | |
); | |
parent::__construct( $id_base, $name, $widget_options, $control_options ); | |
} | |
/* ... */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment