Created
February 18, 2018 20:41
-
-
Save blakewilson/f8db3a713be66f01eb0e96d62afe8926 to your computer and use it in GitHub Desktop.
Video Background Pro Default Mobile Playback Behavior
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Define Video Background Pro's Default Mobile Playback Behavior | |
* | |
* @since 2.2.0 | |
* @author Push Labs | |
* @param String $default Please note that $default is a STRING, not BOOLEAN. | |
* @return String $default The default behavior. | |
*/ | |
function themeprefix_vidbgpro_play_on_mobile_default( $default ) { | |
$default = 'true'; | |
return $default; | |
} | |
add_filter( 'vidbgpro_play_on_mobile_default', 'themeprefix_vidbgpro_play_on_mobile_default' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment