public static function getRevManifest()
    {
        $jsonPath = EVENTMANAGERINTEGRATION_PATH . apply_filters('EventManagerIntegration/Helper/CacheBust/RevManifestPath', 'dist/rev-manifest.json');

        if (file_exists($jsonPath)) {
            return json_decode(file_get_contents($jsonPath), true);
        } elseif (WP_DEBUG) {
            echo '<div style="color:red">Error: Assets not built. Go to ' . EVENTMANAGERINTEGRATION_PATH . ' and run gulp. See '. EVENTMANAGERINTEGRATION_PATH . 'README.md for more info.</div>';
        }
    }
public static function getRevManifest()
    {
        $jsonPath = EVENTMANAGERINTEGRATION_PATH . apply_filters('EventManagerIntegration/Helper/CacheBust/RevManifestPath', 'dist/rev-manifest.json');

        if (file_exists($jsonPath)) {
            return json_decode(file_get_contents($jsonPath), true);
        } elseif (WP_DEBUG) {
            echo '<div style="color:red">Error: Assets not built. Go to ' . EVENTMANAGERINTEGRATION_PATH . ' and run gulp. See '. EVENTMANAGERINTEGRATION_PATH . 'README.md for more info.</div>';
        }
    }
public static function getRevManifest ( ) { $ jsonPath = EVENTMANAGERINTEGRATION_PATH . apply_filters ( 'EventManagerIntegration/Helper/CacheBust/RevManifestPath' , 'dist/rev-manifest.json' ) ; if ( file_exists ( $ jsonPath ) ) { return json_decode ( file_get_contents ( $ jsonPath ) , true ) ; } elseif ( WP_DEBUG ) { echo '<div style="color:red">Error: Assets not built. Go to ' . EVENTMANAGERINTEGRATION_PATH . ' and run gulp. See ' . EVENTMANAGERINTEGRATION_PATH . 'README.md for more info.</div>' ; } }
Decode assets json to array
@return array containg assets filenames
Decode assets json to array