Skip to content

Commit dcc4c35

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

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@
1212
</div><!-- #main .wrapper -->
1313
<footer id="colophon" role="contentinfo">
1414
<div class="site-info">
15-
<?php do_action( 'twentytwelve_credits' ); ?>
15+
<?php
16+
/**
17+
* Fires before the Twenty Twelve footer text for footer customization.
18+
*
19+
* @since Twenty Twelve 1.0
20+
*/
21+
do_action( 'twentytwelve_credits' );
22+
?>
1623
<?php
1724
if ( function_exists( 'the_privacy_policy_link' ) ) {
1825
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );

0 commit comments

Comments
 (0)