0
votes
1answer
492 views

Display posts from an author using search parameters (not author template/query_posts)

Is there a way to retrieve a list of all the posts by an author using search (example: ?s&author=xxx)? I can't use query_posts or author template (don't ask why, take it as a condition). And it ...
0
votes
2answers
36 views

why do I have to use required parametres?

Why, when I want to use add_filter( 'author_link', 'foo', 10, 3 ); function foo ( $link, $author_id, $author_nicename ) {} I have to use 3 required parametres? Why cant I do this: add_filter( ...