Skip to content

Commit c7f4298

Browse files
Twenty Eleven: Document the twentyeleven_credits action hook.
Follow-up to [17954], [25627], [29998]. Props pmbaldha, sabernhardt. See #63648. git-svn-id: https://develop.svn.wordpress.org/trunk@60738 602fd350-edb4-49c9-b593-d223f7449a82
1 parent becfe55 commit c7f4298

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/wp-content/themes/twentyeleven/footer.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,14 @@
2525
?>
2626

2727
<div id="site-generator">
28-
<?php do_action( 'twentyeleven_credits' ); ?>
28+
<?php
29+
/**
30+
* Fires before the Twenty Eleven footer text for footer customization.
31+
*
32+
* @since Twenty Eleven 1.0
33+
*/
34+
do_action( 'twentyeleven_credits' );
35+
?>
2936
<?php
3037
if ( function_exists( 'the_privacy_policy_link' ) ) {
3138
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );

0 commit comments

Comments
 (0)