I’m relative new to wordpress and have currently hit a roadblock.
What I’m trying to do:
- filter the content when someone is trying to publish/update a post
- search for a <!–more–> tag
- insert the tag if not found
This is quite done. My problem lies in the hook for the publish button. I tried with adding a filter to
wp_insert_post, but I doubt I really understand how hooks work. Even after reading the codex information on them.
Can someone please tell me in detail (or in general depending on your free time) how to add a filter/action to the “Publish Post/Update Post” button?
- The topic ‘Hook Publish Post’ is closed to new replies.