Posts Tagged Under: add action

What’s the difference between add_action and add_filter in WordPress?

  • Update On January 6th, 2017
  • in WordPress

This post was last updated on January 6th, 2017 at 07:16 pm

add_filter( string $tag, callable $function_to_add, int $priority = 10, int $accepted_args = 1 )
“add_filter” is defined as a function that takes in some kind of input, modifies it, and then returns it.—for example, you might want to

Read More