Changes between Initial Version and Version 1 of Ticket #49445, comment 1
- Timestamp:
- 02/15/2020 03:18:03 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49445, comment 1
initial v1 1 1 Hi @tmfhokies, welcome to Trac! 2 2 3 The problem you're experiencing is because of the way you're calling `add_ hook()`. `add_hook()` has an optional 2nd & 3rd parameter: the 3rd is "The number of arguments the function accepts". For more details, see [https://developer.wordpress.org/reference/functions/add_action/ add_action()].3 The problem you're experiencing is because of the way you're calling `add_action()`. `add_action()` has an optional 2nd & 3rd parameter: the 3rd is "The number of arguments the function accepts". For more details, see [https://developer.wordpress.org/reference/functions/add_action/ add_action()]. 4 4 5 5 If you change the call to: