WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i want to create my own function in wp-admin same like do in wp-content->functions.php, but i don't know where is the function file in wp-admin folder.

anybody know where is the function file in wp-admin folder?

share|improve this question
up vote 3 down vote accepted

There is no function file in "wp-admin" folder, you do not need to edit that folder.

Wordpress has Plugin api to do that, http://codex.wordpress.org/Plugin_API/

Create a plugin and write function in your plugin file.

share|improve this answer
Slightly off topic but are the only locations for custom functions (not directly attached to the theme files) functions.php or a plugin? – AlxVallejo Sep 26 '12 at 21:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.