/wp-content/themes/thesis_18/lib/html/hooks.php

https://github.com/digitalstrategyworks/Reese-WordPress · PHP · 240 lines · 178 code · 59 blank · 3 comment · 0 complexity · c113477751284a4f884ea4a4d101f220 MD5 · raw file

  1. <?php
  2. /**
  3. * Contains all hook wrappers.
  4. */
  5. function thesis_hook_before_html() {
  6. do_action('thesis_hook_before_html');
  7. }
  8. function thesis_hook_after_html() {
  9. do_action('thesis_hook_after_html');
  10. }
  11. function thesis_hook_before_header() {
  12. do_action('thesis_hook_before_header');
  13. }
  14. function thesis_hook_after_header() {
  15. do_action('thesis_hook_after_header');
  16. }
  17. function thesis_hook_header() {
  18. do_action('thesis_hook_header');
  19. }
  20. function thesis_hook_before_title() {
  21. do_action('thesis_hook_before_title');
  22. }
  23. function thesis_hook_after_title() {
  24. do_action('thesis_hook_after_title');
  25. }
  26. function thesis_hook_first_nav_item() {
  27. do_action('thesis_hook_first_nav_item');
  28. }
  29. function thesis_hook_last_nav_item() {
  30. do_action('thesis_hook_last_nav_item');
  31. }
  32. function thesis_hook_before_content_box() {
  33. do_action('thesis_hook_before_content_box');
  34. }
  35. function thesis_hook_after_content_box() {
  36. do_action('thesis_hook_after_content_box');
  37. }
  38. function thesis_hook_content_box_top() {
  39. do_action('thesis_hook_content_box_top');
  40. }
  41. function thesis_hook_content_box_bottom() {
  42. do_action('thesis_hook_content_box_bottom');
  43. }
  44. function thesis_hook_before_content() {
  45. do_action('thesis_hook_before_content');
  46. }
  47. function thesis_hook_after_content() {
  48. do_action('thesis_hook_after_content');
  49. }
  50. function thesis_hook_before_content_area() {
  51. do_action('thesis_hook_before_content_area');
  52. }
  53. function thesis_hook_after_content_area() {
  54. do_action('thesis_hook_after_content_area');
  55. }
  56. function thesis_hook_feature_box() {
  57. do_action('thesis_hook_feature_box');
  58. }
  59. function thesis_hook_before_post_box($post_count = false) {
  60. do_action('thesis_hook_before_post_box', $post_count);
  61. }
  62. function thesis_hook_after_post_box($post_count = false) {
  63. do_action('thesis_hook_after_post_box', $post_count);
  64. }
  65. function thesis_hook_post_box_top($post_count = false) {
  66. do_action('thesis_hook_post_box_top', $post_count);
  67. }
  68. function thesis_hook_post_box_bottom($post_count = false) {
  69. do_action('thesis_hook_post_box_bottom', $post_count);
  70. }
  71. function thesis_hook_before_teasers_box($post_count = false) {
  72. do_action('thesis_hook_before_teasers_box', $post_count);
  73. }
  74. function thesis_hook_after_teasers_box($post_count = false) {
  75. do_action('thesis_hook_after_teasers_box', $post_count);
  76. }
  77. function thesis_hook_before_post($post_count = false) {
  78. do_action('thesis_hook_before_post', $post_count);
  79. }
  80. function thesis_hook_after_post($post_count = false) {
  81. do_action('thesis_hook_after_post', $post_count);
  82. }
  83. function thesis_hook_before_teaser_box($post_count = false) {
  84. do_action('thesis_hook_before_teaser_box', $post_count);
  85. }
  86. function thesis_hook_after_teaser_box($post_count = false) {
  87. do_action('thesis_hook_after_teaser_box', $post_count);
  88. }
  89. function thesis_hook_before_teaser($post_count = false) {
  90. do_action('thesis_hook_before_teaser', $post_count);
  91. }
  92. function thesis_hook_after_teaser($post_count = false) {
  93. do_action('thesis_hook_after_teaser', $post_count);
  94. }
  95. function thesis_hook_before_headline($post_count = false) {
  96. do_action('thesis_hook_before_headline', $post_count);
  97. }
  98. function thesis_hook_after_headline($post_count = false) {
  99. do_action('thesis_hook_after_headline', $post_count);
  100. }
  101. function thesis_hook_before_teaser_headline($post_count = false) {
  102. do_action('thesis_hook_before_teaser_headline', $post_count);
  103. }
  104. function thesis_hook_after_teaser_headline($post_count = false) {
  105. do_action('thesis_hook_after_teaser_headline', $post_count);
  106. }
  107. function thesis_hook_byline_item($post_count = false) {
  108. do_action('thesis_hook_byline_item', $post_count);
  109. }
  110. function thesis_hook_before_comment_meta() {
  111. do_action('thesis_hook_before_comment_meta');
  112. }
  113. function thesis_hook_after_comment_meta() {
  114. do_action('thesis_hook_after_comment_meta');
  115. }
  116. function thesis_hook_after_comment() {
  117. do_action('thesis_hook_after_comment');
  118. }
  119. function thesis_hook_after_comments() {
  120. do_action('thesis_hook_after_comments');
  121. }
  122. function thesis_hook_comment_form_top() {
  123. do_action('thesis_hook_comment_form_top');
  124. }
  125. function thesis_hook_comment_field() {
  126. do_action('thesis_hook_comment_field');
  127. }
  128. function thesis_hook_after_comment_box() {
  129. do_action('thesis_hook_after_comment_box');
  130. }
  131. function thesis_hook_comment_form_bottom() {
  132. do_action('thesis_hook_comment_form_bottom');
  133. }
  134. function thesis_hook_archives_template() {
  135. do_action('thesis_hook_archives_template');
  136. }
  137. function thesis_hook_custom_template() {
  138. do_action('thesis_hook_custom_template');
  139. }
  140. function thesis_hook_faux_admin() {
  141. do_action('thesis_hook_faux_admin');
  142. }
  143. function thesis_hook_404_title() {
  144. do_action('thesis_hook_404_title');
  145. }
  146. function thesis_hook_404_content() {
  147. do_action('thesis_hook_404_content');
  148. }
  149. function thesis_hook_before_sidebars() {
  150. do_action('thesis_hook_before_sidebars');
  151. }
  152. function thesis_hook_after_sidebars() {
  153. do_action('thesis_hook_after_sidebars');
  154. }
  155. function thesis_hook_multimedia_box() {
  156. do_action('thesis_hook_multimedia_box');
  157. }
  158. function thesis_hook_after_multimedia_box() {
  159. do_action('thesis_hook_after_multimedia_box');
  160. }
  161. function thesis_hook_before_sidebar_1() {
  162. do_action('thesis_hook_before_sidebar_1');
  163. }
  164. function thesis_hook_after_sidebar_1() {
  165. do_action('thesis_hook_after_sidebar_1');
  166. }
  167. function thesis_hook_before_sidebar_2() {
  168. do_action('thesis_hook_before_sidebar_2');
  169. }
  170. function thesis_hook_after_sidebar_2() {
  171. do_action('thesis_hook_after_sidebar_2');
  172. }
  173. function thesis_hook_before_footer() {
  174. do_action('thesis_hook_before_footer');
  175. }
  176. function thesis_hook_after_footer() {
  177. do_action('thesis_hook_after_footer');
  178. }
  179. function thesis_hook_footer() {
  180. do_action('thesis_hook_footer');
  181. }