Skip to content

Commit

Permalink
Merge pull request #43 from rodrigo-arias/develop
Browse files Browse the repository at this point in the history
Add values in hierarchical post columns
  • Loading branch information
jeffpaul authored Jun 14, 2021
2 parents 49a25da + be35e7c commit 6ae56ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/ConvertToBlocks/PostTypeColumnSupport.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function register() {
continue;
}
add_filter( "manage_{$post_type}_posts_columns", [ $this, 'update_post_columns' ], 10000 );
add_action( "manage_{$post_type}_pages_custom_column", [ $this, 'update_post_column_value' ], 10, 2 );
add_action( "manage_{$post_type}_posts_custom_column", [ $this, 'update_post_column_value' ], 10, 2 );
}
}
Expand Down

0 comments on commit 6ae56ef

Please sign in to comment.