Opened 3 years ago
Closed 3 years ago
#8596 closed enhancement (fixed)
Update `BP_Activity_Activity::get_id()` function parameters as optional
Reported by: | oztaser | Owned by: | imath |
---|---|---|---|
Milestone: | 10.0.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Activity | Keywords: | has-patch |
Cc: |
Description
Passing arguments as an array more useful and make them optional.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Hi @oztaser
Interesting improvement 👍. But we need to make sure developer not using the new array can still use the function. Have a look at
BP_Activity_Activity::get()
to see how we did in such a case 😉