Skip to content

Commit

Permalink
Update understandingFilters.rst
Browse files Browse the repository at this point in the history
correcting some typos
  • Loading branch information
ArdenKirkland committed May 8, 2021
1 parent 51a7030 commit f1ca370
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/Tutorials/understandingFilters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ modify it somehow (though this can include completely replacing it or
leaving it unchanged), and return the result. That returned value is what's
passed to any later functions attached to the same filter, and eventually
back to the code that applied the filter in the first place. Since filters
work this way, there's aclear distinction from how hooks work in this case:
filter functions filter functions **must** return a value.
work this way, there's a clear distinction from how hooks work in this case: filter functions **must** return a value.

The second parameter to a filter function is conventionally called ``$args``.
Just like with hooks, ``$args`` is an array of arguments, optional useful
Expand Down

0 comments on commit f1ca370

Please sign in to comment.