Equity Hook Directory

Equity Hook Directory

Knowledge Base > Equity Framework > Equity Hook Directory

in Equity Framework

equity_pre

This is the first hook to execute within Equity. Any function hooked to it is executed before any Equity functions have loaded.

equity_pre_framework

This hook executes immediately before any of the Equity Framework components have been loaded, but after all the constants have been defined.

equity_doctype

By default, this hook outputs the doctype, html opening tag, head opening tag, and character type meta tag.

equity_title

This hook executes between tags and outputs the doctitle. You can find all doctitle related code in /lib/framework/header.php.

equity_meta

This hook executes in the head section of the document source. By default, things like META descriptions and keywords are output using this hook, along with the default stylesheet, favicon reference, and viewport.

equity_before

This hook executes immediately after the opening tag in the document source.

equity_after

This hook executes immediately before the closing tag in the document source.

equity_before_header

This hook executes immediately before the header (outside the #header div).

equity_header

By default, this hook outputs the header code, including the title, description, and widget area (if present).

equity_after_header

This hook executes immediately after the header (outside the #header div).

equity_site_title

By default, this hook outputs the site title, within the header area.

equity_site_description

By default, this hook outputs the site description, within the header area.

equity_before_content_sidebar_wrap

This hook executes immediately before the div block that wraps the content and the primary sidebar (outside the #content-sidebar-wrap div).

equity_after_content_sidebar_wrap

This hook executes immediately after the div block that wraps the content and the primary sidebar (outside the #content-sidebar-wrap div).

equity_before_content

This hook executes immediately before the content column (outside the #content div).

equity_after_content

This hook executes immediately after the content column (outside the #content div).

equity_sidebar

This hook outputs the content of the primary sidebar, including the widget area output.

equity_before_sidebar_widget_area

This hook executes immediately before the primary sidebar widget area (inside the #sidebar div).

equity_after_sidebar_widget_area

This hook executes immediately after the primary sidebar widget area (inside the #sidebar div).

equity_before_footer

This hook executes immediately before the footer, outside the #footer div.

equity_footer

This hook, by default, outputs the content of the footer, including the #footer div wrapper.

equity_after_footer

This hook executes immediately after the footer, outside the #footer div.

equity_before_loop

This hook executes immediately before all loop blocks. Therefore, this hook falls outside the loop, and cannot execute functions that require loop template tags or variables.

equity_loop

This hook outputs the actual loop. See lib/framework/loop.php and lib/framework/post.php for more details.

equity_after_loop

This hook executes immediately after all loop blocks. Therefore, this hook falls outside the loop, and cannot execute functions that require loop template tags or variables.

equity_after_endwhile

This hook executes after the endwhile; statement in all loop blocks.

equity_loop_else

This hook executes after the else : statement in all loop blocks.

equity_before_entry

This hook executes before each entry in all loop blocks (outside the post_class() container).

equity_after_entry

This hook executes after each entry in all loop blocks (outside the post_class() container).

equity_entry_header

This hook executes before the entry content and generates the entry header content in all loop blocks.

equity_before_entry_content

This hook executes before the .entry-content container in all loop blocks.

equity_entry_content

This hook executes within the .entry-content container in all loop blocks.

equity_after_entry_content

This hook executes after the .entry-content container in all loop blocks.

equity_entry_footer

This hook executes after the entry content and generates the entry footer content in all loop blocks.

equity_before_comments

This hook executes immediately before the comments block (outside the #comments div).

equity_comments

This hook outputs the entire comments block, including the section title. It also executes the equity_list_comments hook, which outputs the comment list.

equity_after_comments

This hook executes immediately after the comments block (outside the #comments div).

equity_list_comments

This hook executes inside the comments block, inside the .comment-list OL. By default, it outputs a list of comments associated with a post via the equity_default_list_comments() function.

equity_before_pings

This hook executes immediately before the pings block (outside the #pings div).

equity_pings

This hook outputs the entire pings block, including the section title. It also executes the equity_list_pings hook, which outputs the ping list.

equity_after_pings

This hook executes immediately after the pings block (outside the #pings div).

equity_list_pings

This hook executes inside the pings block, inside the .ping-list OL. By default, it outputs a list of pings associated with a post via the equity_default_list_pings() function.

equity_before_comment

This hook executes before the output of each individual comment (author, meta, comment text).

equity_after_comment

This hook executes after the output of each individual comment (author, meta, comment text).

equity_before_comment_form

This hook executes immediately before the comment form, outside the #respond div.

equity_comment_form

This hook outputs the actual comment form, including the #respond div wrapper.

equity_after_comment_form

This hook executes immediately after the comment form, outside the #respond div.