Skip to content

Commit

Permalink
Merge pull request #50 from ArdenKirkland/patch-2
Browse files Browse the repository at this point in the history
Update understandingFilters.rst
  • Loading branch information
zerocrates committed Jun 7, 2021
2 parents 51a7030 + f1ca370 commit 7ff18ee
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 7ff18ee

Please sign in to comment.