Changes between Initial Version and Version 1 of Ticket #52816, comment 2
- Timestamp:
- 03/15/2021 12:59:44 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #52816, comment 2
initial v1 10 10 foreach ( $screens as $screen ) { 11 11 add_meta_box( 12 'wporg_box_id', // Unique ID13 'Custom Meta Box Title', // Box title14 'wporg_custom_box_html', // Content callback, must be of type callable15 $screen // Post type12 'wporg_box_id', 13 'Custom Meta Box Title', 14 'wporg_custom_box_html', 15 $screen 16 16 ); 17 17 }