Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.