Created
November 16, 2021 18:47
-
-
Save Pross/a19b926e0bad1467b67582167ddd3ced to your computer and use it in GitHub Desktop.
FLBuilderSettingsCompatHelper example.
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 // added this to make the styling work | |
class FLBuilderSettingsCompatRowVideo extends FLBuilderSettingsCompatHelper { | |
public function filter_settings( $settings ) { | |
$settings->bg_video_fallback_src = str_replace( 'https://smithcountylumber.com', 'https://smithcountylumber.b-cdn.net', $settings->bg_video_fallback_src ); | |
return $settings; | |
} | |
} | |
add_action( 'init', function() { | |
FLBuilderSettingsCompat::register_helper( 'row', 'FLBuilderSettingsCompatRowVideo' ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment