Opened 9 years ago
Closed 9 years ago
#33720 closed enhancement (fixed)
Adding echo argument to wp_terms_checklist() to allow return of generated markup
Reported by: | kevinlangleyjr | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 4.4 |
Component: | Taxonomy | Keywords: | has-patch |
Focuses: | template | Cc: |
Description
Currently, wp_terms_checklist()
echos the output with no way to just return the generated markup without opening an output buffer and capturing the output. In this patch, I've added an extra argument to wp_terms_checklist()
to allow the return of the markup.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Adding echo arg to wp_terms_checklist() function to allow returning of the generated markup or echo by default