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?

1 Answer 1


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.

  • 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, 2012 at 21:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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