WP user avatar override options and prevent custom defaults in get_avatar
-
When using wp user avatar plugin, the plugin have a filter which override settings of get_avatar function and i can’t use my own defaults.
$args = array( 'size' => 300, 'default' => 'mystery', 'force_default' => true, 'class' => 'img-responsive img-rounded' ); $avatar = get_avatar( $id, 300, '', '', $args );
So no matter what args i set, i can’t get them because plugin override them with their own. Is there a way to prevent that and use my own args?
- The topic ‘WP user avatar override options and prevent custom defaults in get_avatar’ is closed to new replies.