um_user_cover_photo_uri__filter
Hook type
Filter
Description
Change user avatar URL
Parameters
$cover_uri
(string) Cover URL
$is_default
(bool) Default or not
$attrs
(array) Attributes
Usage
add_filter( 'um_user_cover_photo_uri__filter', 'function_name', 10, 3 );
Examples
<?php add_filter( 'um_user_cover_photo_uri__filter', 'my_user_cover_photo_uri', 10, 3 ); function my_user_cover_photo_uri( $cover_uri, $is_default, $attrs ) { // your code here return $cover_uri; } ?>
Change Log
Since: 2.0
Source
um_user_cover_photo_uri__filter
is located in includes/um-short-functions.php::line 2161