Skip to content

Commit

Permalink
Additional plugin API for Revisions integration
Browse files Browse the repository at this point in the history
  • Loading branch information
agapetry committed Jan 28, 2025
1 parent 564bd32 commit 34b1298
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/content-board/library/content-board-utilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ public static function content_board_get_post_form($args) {
?>
<select id="form_post_status" name="<?php echo esc_attr($field_key); ?>">
<?php
foreach ($field_options['options'] as $post_status) {
foreach (apply_filters('publishpress_content_board_new_post_statuses', $field_options['options'], $args) as $post_status) {
echo "<option value='" . esc_attr($post_status['value']) . "' " . selected(
$post_status['value'],
$field_options['value']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ public static function content_overview_get_post_form($args) {
?>
<select id="form_post_status" name="<?php echo esc_attr($field_key); ?>">
<?php
foreach ($field_options['options'] as $post_status) {
foreach (apply_filters('publishpress_content_overview_new_post_statuses', $field_options['options'], $args) as $post_status) {
echo "<option value='" . esc_attr($post_status['value']) . "' " . selected(
$post_status['value'],
$field_options['value']
Expand Down

0 comments on commit 34b1298

Please sign in to comment.