Changeset 884554
- Timestamp:
- 03/30/2014 10:16:54 AM (12 years ago)
- File:
-
- 1 edited
-
instamojo/trunk/widget.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
instamojo/trunk/widget.php
r884545 r884554 16 16 function __construct() 17 17 { 18 // Load any other optional scripts19 add_action('load-widgets.php', array(&$this, 'my_custom_load'));20 21 18 // Name and class of widget 22 19 $widget_options = array( … … 32 29 // Initialize the widget. 33 30 $this->WP_Widget('instamojo-widget', 'Instamojo', $widget_options, $control_options); 34 }35 36 /**37 * Called in the constructor.38 */39 function my_custom_load()40 {41 42 31 } 43 32 … … 147 136 } 148 137 } 138 149 139 ?>
Note: See TracChangeset
for help on using the changeset viewer.