Filters the Listen app's web app manifest, for a host that names, colours or gives icons to each site's app its own way.
Parameters
$manifestarray- The manifest's members: id, name, short_name, description, start_url, scope, display_override, display, background_color, theme_color and icons.
More Information
The document's theme-color meta tag follows the manifest's theme_color. Its page colours come from the custom properties on .riff-standalone, such as --riff-standalone-bg.
Usage
add_filter( 'riff_app_manifest', function ( $manifest ) {
return $manifest;
} );Source
$filtered = apply_filters( 'riff_app_manifest', $manifest );plugins/riff/features/listen/class-standalone.phpView on GitHub
Changelog
| Version | Description |
|---|---|
| 6.4.0 | Introduced. |