@@ -48,7 +48,7 @@ function tootpress_fire_toots_update() {
4848/**
4949 * Preample
5050 *
51- * This filter outputs html content before the toot loop.
51+ * This filter outputs html content before the initial toot loop.
5252 *
5353 * @since 0.4
5454 *
@@ -82,38 +82,38 @@ function tootpress_preamble_filter_apply($preamble) {
8282 */
8383
8484/**
85- * Afterloop Filter
85+ * Closing Filter
8686 *
87- * This filter outputs html content after the toot loop.
87+ * This filter outputs content after the last toot loop.
8888 *
8989 * @since 0.5
9090 *
91- * @param string Unfiltered Content
92- * @return html Filtered Content
91+ * @param string Content
92+ * @return string Filtered Content
9393 */
9494
95- function tootpress_afterloop_filter_apply ($ content ) {
96- $ content .=apply_filters ( 'tootpress_afterloop_filter ' , $ content );
95+ function tootpress_closing_filter_apply ($ content ) {
96+ $ content .=apply_filters ( 'tootpress_closing_filter ' , $ content );
9797 return $ content ;
9898}
9999
100100/**
101- * Filter Example: tootpress_afterloop_filter
101+ * Filter Example: tootpress_closing_filter
102102 *
103103 * @since 0.5
104104 *
105- * @param string Unfiltered Content
106- * @return html Filtered Content
105+ * @param string Content
106+ * @return string Filtered Content
107107 *
108- * function tootpress_afterloop_add ( $content ) {
108+ * function tootpress_closing_add ( $content ) {
109109 *
110110 * // Add your filter code here
111111 * // Example: $content='<p>Hello World.</p>';
112112 *
113113 * return $content;
114114 *
115115 * }
116- * add_filter( 'tootpress_afterloop_filter ', 'tootpress_afterloop_add ', 10, 1 );
116+ * add_filter( 'tootpress_closing_filter ', 'tootpress_closing_add ', 10, 1 );
117117 *
118118 */
119119
0 commit comments