Changes between Version 1 and Version 2 of Ticket #21580, comment 11
- Timestamp:
- 08/18/2012 05:21:34 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21580, comment 11
v1 v2 6 6 > I suspect this is because the function is expecting 2 parameters but the action from old to new status only passes 1 variable - namely $post. 7 7 8 Yes, you need to tell add_ filterhow many parameters you want back:8 Yes, you need to tell add_action() how many parameters you want back: 9 9 10 10 {{{