Title: Needs code placement instructions
Last modified: November 8, 2022

---

# Needs code placement instructions

 *  [welcomeblack](https://wordpress.org/support/users/welcomeblack/)
 * (@welcomeblack)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/needs-code-placement-instructions/)
 * Look, I’m fine with having to do some coding. After all, I want to write my own
   php code to be called every five minutes or so. But you have to tell me WHERE
   to put the calls. I’ve installed your service via plugin, and your usage page(
   actionscheduler [dot] org [slash] usage) tells me exactly nothing about where
   I need to make these API calls. Is it function.php in my home WP directory? Can
   I make these calls from my own self-made directory? Tell me!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [crstauf](https://wordpress.org/support/users/crstauf/)
 * (@crstauf)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/needs-code-placement-instructions/#post-16178361)
 * Code for performing on action run can be added to a plugin, an mu-plugin, or 
   a theme. If you’re adding to your theme, that would be in functions.php.
 *  Plugin Support [Sandip Mondal – a11n](https://wordpress.org/support/users/sandipmondal/)
 * (@sandipmondal)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/needs-code-placement-instructions/#post-16188496)
 * Hi [@welcomeblack](https://wordpress.org/support/users/welcomeblack/),
 * >  Is it function.php in my home WP directory? Can I make these calls from my
   > own self-made directory? Tell me!
 * If you are adding code to your site then as [@crstauf](https://wordpress.org/support/users/crstauf/)
   suggested, the place the code will go is `functions.php` of your theme.
 * You can also use a plugin like [Code Snippets](https://wordpress.org/plugins/code-snippets/)
   to add PHP code snippets to your site.
 * If you are facing a support issue, please open a [support thread](https://wordpress.org/support/plugin/action-scheduler/)
   instead 🙂
 * Since you have added a review to the plugin now, can you please add your code
   to any of the above-mentioned solutions and edit the review?
 * Let me know if you have any further questions!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Needs code placement instructions’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/action-scheduler.svg)
 * [Action Scheduler](https://wordpress.org/plugins/action-scheduler/)
 * [Support Threads](https://wordpress.org/support/plugin/action-scheduler/)
 * [Active Topics](https://wordpress.org/support/plugin/action-scheduler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/action-scheduler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/action-scheduler/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Sandip Mondal – a11n](https://wordpress.org/support/users/sandipmondal/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/needs-code-placement-instructions/#post-16188496)