Title: (Support) Code hooks
Last modified: February 18, 2021

---

# (Support) Code hooks

 *  Resolved [hellpunch](https://wordpress.org/support/users/hellpunch/)
 * (@hellpunch)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/support-code-hooks/)
 * Are there some examples of it? Where do i start from? Can i directly write php
   code inside the content blocks and expect them to be run on every page? Is it
   similar to code snippets?
    -  This topic was modified 5 years, 3 months ago by [hellpunch](https://wordpress.org/support/users/hellpunch/).

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

 *  Theme Author [Creative Themes](https://wordpress.org/support/users/creativethemeshq/)
 * (@creativethemeshq)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/support-code-hooks/#post-14071172)
 * Hey [@hellpunch](https://wordpress.org/support/users/hellpunch/),
    Yes you can
   add php code inside, simply switch to the code editor.
 * Also there is a “Debug Hooks” functionality that could help you to find a hook
   position faster, please see [this video](https://d.pr/v/HxXLRV).
 * Hope this helps.
 *  Thread Starter [hellpunch](https://wordpress.org/support/users/hellpunch/)
 * (@hellpunch)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/support-code-hooks/#post-14085326)
 * THANKS, the code editor isn’t the greatest unfortuantely.
    -  This reply was modified 5 years, 3 months ago by [hellpunch](https://wordpress.org/support/users/hellpunch/).

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

The topic ‘(Support) Code hooks’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/blocksy/2.1.42/screenshot.jpg)
 * Blocksy
 * [Support Threads](https://wordpress.org/support/theme/blocksy/)
 * [Active Topics](https://wordpress.org/support/theme/blocksy/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/blocksy/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/blocksy/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [hellpunch](https://wordpress.org/support/users/hellpunch/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/support-code-hooks/#post-14085326)
 * Status: resolved