What is difference between action hook and filter hook?
Answer / Raghavendra Singh
Action hooks trigger functions or methods when certain events occur, such as saving a post or displaying an admin page. Filter hooks allow developers to modify data before it's saved or displayed by passing the data through a filter function. Unlike action hooks, filter hooks do not trigger actions directly but return modified data.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are psrs? Choose 1 and briefly describe it?
How do I install php?
Will php die?
Why php is better?
How to include a file code in different files in php?
How do you debug php?
How can you increase the maximum execution time of a script in php?
how many error types in php? name there?
What does $_server means?
Do you know what does mvc stand for and what does each component do?
What are the different ways to login to a remote server? Explain the means, advantages and disadvantages?
What is basic php?