Answer Posted / Kamaljeet Kaur
Action and Filter are two fundamental concepts in WordPress that allow developers to extend or alter the functionality of a plugin or theme without modifying its core code. An Action, denoted by the 'do_action' function, triggers a specific event at a certain point during execution process. Filters, denoted by the 'apply_filters' function, enable the manipulation of data before it is used in a particular context. For example, using filters, developers can change the content of a post or modify how an image is displayed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers