Skip to content

Commit a4a58da

Browse files
authored
Merge pull request #101 from ideag/patch-2
more specific column content hook
2 parents 3edb9ea + 97337e4 commit a4a58da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/class-cpt-wplf-form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct() {
3232
// edit.php view
3333
add_filter( 'post_row_actions', array( $this, 'remove_row_actions' ), 10, 2 );
3434
add_filter( 'manage_edit-wplf-form_columns', array( $this, 'custom_columns_cpt' ), 100, 1 );
35-
add_action( 'manage_posts_custom_column', array( $this, 'custom_columns_display_cpt' ), 10, 2 );
35+
add_action( 'manage_wplf-form_posts_custom_column', array( $this, 'custom_columns_display_cpt' ), 10, 2 );
3636

3737
add_filter( 'default_content', array( $this, 'default_content_cpt' ) );
3838
add_filter( 'user_can_richedit', array( $this, 'disable_tinymce' ) );

0 commit comments

Comments
 (0)