apply_filters( 'ap_user_display_name', string $return, array $args )

Description #

Filter AnsPress user display name.

Filter can be used to alter user display name or appending some extra information of user, like: rank, reputation etc. Make sure to return plain text when $args['html'] is true.

Parameters #

  • $return
    string Name of user to return.
  • $args
    array Arguments.

Changelog #

VersionDescription
2.0.1Introduced.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment