benecaster_content_calendar_before_reorder_ideas
Fires before a show’s Content Calendar ideas are rearranged, from the Ideas board or PUT /benecaster-content-calendar/v1/shows/{show_id}/ideas/order.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$show_id |
int |
— | The show whose ideas are being rearranged |
$ids |
array |
— | The IDs of every idea of the show, first to last |
Example
add_action( 'benecaster_content_calendar_before_reorder_ideas', function ( int $show_id, array $ids ): void {
my_audit_log( 'calendar-ideas-reordering', $show_id, implode( ', ', $ids ) );
}, 10, 2 );
Notes
Affects
- Ideas board
- PUT benecaster-content-calendar/v1/shows/{show_id}/ideas/order
Need this built rather than just documented? See our services →