Support Center

About Koken

This Help Center provides support for Koken, a free content management system designed for photographers, artists and designers.

Hooks

Hooks

Last Updated: Jul 25, 2013 04:49PM EDT

Hooks are fired at particular points in Koken to signify that an event has taken place. Plugin developers can use these hooks to perform additional actions based on those events.

API hooks

album.create

This hook is fired after an album is created. The album array is passed to the hook. No return response is necessary.

album.update

This hook is fired after an album is updated. The album array is passed to the hook. No return response is necessary.

album.delete

This hook is fired after an album is deleted. The album array is passed to the hook. No return response is necessary.

content.create

This hook is fired after content is created. The content array is passed to the hook. No return response is necessary.

content.update

This hook is fired after an content is updated. The content array is passed to the hook. No return response is necessary.

content.update_with_upload

This hook is fired after an content is updated and only if a new file has been uploaded for the content item. The content array is passed to the hook. No return response is necessary.

content.delete

This hook is fired after an content is deleted. The content array is passed to the hook. No return response is necessary.

text.create

This hook is fired after an text item (page or essay) is created. The text array is passed to the hook. No return response is necessary.

text.update

This hook is fired after an text item (page or essay) is updated. The text array is passed to the hook. No return response is necessary.

text.delete

This hook is fired after an text item (page or essay) is deleted. The text array is passed to the hook. No return response is necessary.

Site hooks

after_opening_head

This hook fires immediately after the opening <head> tag is rendered.

after_opening_body

This hook fires immediately after the opening <body> tag is rendered.

before_closing_head

This hook fires immediately before the closing <head> tag is rendered.

before_closing_body

This hook fires immediately before the closing <body> tag is rendered.

support@koken.me
http://assets1.desk.com/
false
koken
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete