Files
medicalalert-web-reloaded/wp/wp-content/plugins/divi-builder/includes/builder/compat/early.php
Tony Volpe 4eb982d7a8 Merged in feature/from-pantheon (pull request #16)
code from pantheon

* code from pantheon
2024-01-10 17:03:02 +00:00

16 lines
422 B
PHP

<?php
// Compatibility code that needs to be run early and for each request.
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
if ( function_exists( 'ud_get_stateless_media' ) ) {
// WP Stateless Plugin.
function et_compat_stateless_skip_cache_busting( $result, $filename ) {
return $filename;
}
add_filter( 'stateless_skip_cache_busting', 'et_compat_stateless_skip_cache_busting', 10, 2 );
}