Filters a post as the library lists it.
Parameters
$itemarray- Item: id, title, url, artist, art, count, duration.
$postWP_Post- Post.
More Information
Usage
add_filter( 'riff_library_item', function ( $item, $post ) {
return $item;
}, 10, 2 );Source
return (array) apply_filters( 'riff_library_item', $item, $post );plugins/riff/src/class-library.phpView on GitHub
Changelog
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |