Title: add_filter confusing
Last modified: August 20, 2016

---

# add_filter confusing

 *  [Ben Dwyer](https://wordpress.org/support/users/scruffian/)
 * (@scruffian)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/add_filter-confusing/)
 * I am confused about filters, why does this work:
 *     ```
       function get_the_author_description2() {
       	return 'test';
       }
       add_filter('get_the_author_description', 'get_the_author_description2');
       ```
   
 * but this one does not:
 *     ```
       function get_the_author_firstname2() {
       	return 'test';
       }
       add_filter('get_the_author_firstname', 'get_the_author_firstname2');
       ```
   
 * Confusing!
 * _I know these are depreciated functions, but the plugin I am trying to override
   is using them._
 * Thanks

The topic ‘add_filter confusing’ is closed to new replies.

## Tags

 * [add_filter](https://wordpress.org/support/topic-tag/add_filter/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [Ben Dwyer](https://wordpress.org/support/users/scruffian/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/add_filter-confusing/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
