Twenty Fifteen: documentation for the twentyfifteen_credits action

Props iamtakashi, fixes #30051



git-svn-id: https://develop.svn.wordpress.org/trunk@29998 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ian Stewart 2014-10-23 18:36:20 +00:00
parent 9dafca7e2c
commit 8fdc680f66
1 changed files with 8 additions and 1 deletions

View File

@ -14,7 +14,14 @@
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="site-info">
<?php do_action( 'twentyfifteen_credits' ); ?>
<?php
/**
* Fires before the Twenty Fifteen footer text for footer customization.
*
* @since Twenty Fifteen 1.0
*/
do_action( 'twentyfifteen_credits' );
?>
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyfifteen' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'twentyfifteen' ), 'WordPress' ); ?></a>
</div><!-- .site-info -->
</footer><!-- .site-footer -->