Title: register_widget_control
Last modified: August 19, 2016

---

# register_widget_control

 *  [cptdondo](https://wordpress.org/support/users/cptdondo/)
 * (@cptdondo)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/register_widget_control/)
 * I’m trying to write a simple widget. I have the core functionality working, but
   now I’m trying to add some simple used data.
 * The plugin fails with
 * Fatal error: Call to undefined function wp_register_widget_control()
 * Including widgets.php leads to more undefined function calls.
 * Searching on register_widget_control returns nothing….
 * Looking at other plugins, they don’t seem to do anything special….
 * Is there something special I need to do to enable widget control?
 * Or is there a detailed HOWTO on writing widget controls?
 * Thanks,
 * –Yan

Viewing 1 replies (of 1 total)

 *  Thread Starter [cptdondo](https://wordpress.org/support/users/cptdondo/)
 * (@cptdondo)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/register_widget_control/#post-701276)
 * I got it…. I had the code in the wrong place…

Viewing 1 replies (of 1 total)

The topic ‘register_widget_control’ is closed to new replies.

## Tags

 * [control](https://wordpress.org/support/topic-tag/control/)
 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 1 reply
 * 1 participant
 * Last reply from: [cptdondo](https://wordpress.org/support/users/cptdondo/)
 * Last activity: [18 years, 3 months ago](https://wordpress.org/support/topic/register_widget_control/#post-701276)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
