WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#14541 new enhancement

Add boolean at remove_meta_box action

Reported by: Rahe Owned by:
Priority: normal Milestone: Future Release
Component: General Version: 3.0.1
Severity: normal Keywords: has-patch
Cc:

Description

Add the possibility of getting the status of the remove_meta_box action by boolean.
Can be useful if you want to add/remove other metaboxes if one other is present or not.

Attachments (1)

metabox.diff (671 bytes) - added by Rahe 3 years ago.

Download all attachments as: .zip

Change History (3)

Rahe3 years ago

comment:1 scribu3 years ago

  • Keywords has-patch added

comment:2 nacin3 years ago

  • Milestone changed from Awaiting Review to Future Release

Needs docs too.

Also, once it's found it, it can just return true immediately. Then return false at the end. No need for the flag.

Note: See TracTickets for help on using tickets.