Action hooks add a whole new level of customisability to WordPress themes and plugins without the need to modifiy the theme’s or plugin’s core codes themeselves, allowing you to safely update the theme or plugin in the future without losing your modification.
To quote Nathan Rice:
Action hooks are essentially placeholders. Wherever an action hook is placed, it will execute any code that has been “hooked” to it.
…WordPress action hooks are a means of providing a way for other developers to insert their own code in specific locations within your code, in order to change or expand the functionality of your code.
Nathan Rice
Action hooks are introduced into the Graphene theme since version 1.0.9.
Full list of Graphene’s Action Hooks
Sorted by file, and in order of appearance in the file.
author.php
- graphene_before_authorpostlist
- graphene_after_authorpostlist
comments.php
- graphene_protected_comment
- graphene_before_comments
- graphene_after_comments
- graphene_comments_pagination
- graphene_comments_disabled
- graphene_before_commentform
- graphene_after_commentform
footer.php
- graphene_before_footer
- graphene_copyright
- graphene_w3c
- graphene_developer
- graphene_after_footer
functions.php
- graphene_setup
- graphene_admin_header_style
- graphene_custom_style
- graphene_light_header
- graphene_default_menu
- graphene_before_comment
- graphene_comment_gravatar
- graphene_comment_author
- graphene_comment_metadata
- graphene_comment_replylink
- graphene_comment_meta
- graphene_before_commententry
- graphene_comment_moderation
- graphene_after_commententry
- graphene_after_comment
- graphene_show_adsense
- graphene_adsense
- graphene_show_addthis
- graphene_addthis
- graphene_widgets_init
- graphene_twitter_widget
- graphene_options_init
- graphene_comment_form_fields
- graphene_comment_textarea
- graphene_comment_submit_button
- graphene_continue_reading_link
- graphene_auto_excerpt_more
- graphene_posts_nav
header.php
- graphene_feed_icon
- graphene_top_search
- graphene_top_menu
- graphene_before_content
- graphene_before_slider
- graphene_before_slideritems
- graphene_before_sliderpost
- graphene_slider_postentry
- graphene_slider_nav
loop-author.php
- graphene_author_entry
- graphene_author_details
- graphene_author_desc
- graphene_author_latestposts
- graphene_author_popularposts
loop.php
- graphene_post_nav
- graphene_post_date
- graphene_post_title
- graphene_post_meta
- graphene_before_post_content
- graphene_after_post_content
- graphene_post_footer
- graphene_not_found
searchform.php
- graphene_search_form
sidebar-footer.php
- graphene_before_bottomsidebar
- graphene_after_bottomsidebar
sidebar.php
- graphene_before_rightsidebar
- graphene_after_rightsidebar