Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Override asset URLs
add_filter( 'facetwp_assets', function( $assets ) {
foreach ( $assets as $key => $url ) {
$assets[ $key ] = s3_url_for( $url );
return $assets;
}, 999 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.