Opened 11 months ago

Closed 11 months ago

Last modified 11 months ago

#21224 closed enhancement (duplicate)

Allow remove_post_type_support() to take a $feature array

Reported by: DrewAPicture Owned by:
Priority: normal Milestone:
Component: Post Types Version:
Severity: minor Keywords:
Cc:

Description

add_post_type_support() already allows a single $feature string or array to be added at once. It would be nice not to have to call remove_post_type_support() multiple times just to remove multiple supports.

If this was specifically done this way for a reason, I'm all ears.

Attachments (1)

21224.diff (1.0 KB) - added by DrewAPicture 11 months ago.

Download all attachments as: .zip

Change History (4)

  • Keywords has-patch added
  • Cc DrewAPicture removed
  • Keywords has-patch removed
  • Resolution set to duplicate
  • Status changed from new to closed

My bad, duplicate of #14077.

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.