daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Nov 17th, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. function new_avatar( $avatar_defaults ) {
  3.     $new_avatar = content_url() . '/uploads/[your image]';
  4.     $avatar_defaults[ $new_avatar ] = 'No Avatar';
  5.     return $avatar_defaults;
  6. }
  7. add_filter( 'avatar_defaults', 'new_avatar' );
  8. ?>
RAW Paste Data
Top