Title: Adding Admin button that calls a function
Last modified: August 19, 2016

---

# Adding Admin button that calls a function

 *  [Dwenaus](https://wordpress.org/support/users/dwenaus/)
 * (@dwenaus)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/adding-admin-button-that-calls-a-function/)
 * Maybe I’m going about this the wrong way. but I want to add a button in the admin
   somewhere (options I guess). where when the user clicks the button a function
   is called. This should be simple, but I can’t figure it out. The function will
   do some process to change the db.

Viewing 1 replies (of 1 total)

 *  [morethanever](https://wordpress.org/support/users/morethanever/)
 * (@morethanever)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/adding-admin-button-that-calls-a-function/#post-891686)
 * bump

Viewing 1 replies (of 1 total)

The topic ‘Adding Admin button that calls a function’ is closed to new replies.

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [function](https://wordpress.org/support/topic-tag/function/)

 * 1 reply
 * 2 participants
 * Last reply from: [morethanever](https://wordpress.org/support/users/morethanever/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/adding-admin-button-that-calls-a-function/#post-891686)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
