Twenty Seventeen: Add missing `@return` tag for `twentyseventeen_video_controls()`.
Props ndoublehwp, audrasjb. Fixes #41927. git-svn-id: https://develop.svn.wordpress.org/trunk@41780 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7c4d77bd04
commit
b85fd6892c
|
@ -113,6 +113,7 @@ endif; // End of twentyseventeen_header_style.
|
||||||
* Customize video play/pause button in the custom header.
|
* Customize video play/pause button in the custom header.
|
||||||
*
|
*
|
||||||
* @param array $settings Video settings.
|
* @param array $settings Video settings.
|
||||||
|
* @return array The filtered video settings.
|
||||||
*/
|
*/
|
||||||
function twentyseventeen_video_controls( $settings ) {
|
function twentyseventeen_video_controls( $settings ) {
|
||||||
$settings['l10n']['play'] = '<span class="screen-reader-text">' . __( 'Play background video', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'play' ) );
|
$settings['l10n']['play'] = '<span class="screen-reader-text">' . __( 'Play background video', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'play' ) );
|
||||||
|
|
Loading…
Reference in New Issue