true ), 'names' ); foreach ( $taxonomies as $custom_taxonomy ) { if ( isset( $custom_taxonomy ) ) { add_action( 'manage_edit-' . $custom_taxonomy . '_columns', array( $this, 'add_column' ) ); add_filter( 'manage_' . $custom_taxonomy . '_custom_column', array( $this, 'add_return_value' ), 10, 3 ); } } $post_types = get_post_types( array( 'public' => true ), 'names' ); foreach ( $post_types as $post_type ) { if ( isset( $post_type ) ) { add_action( 'manage_edit-' . $post_type . '_columns', array( $this, 'add_column' ) ); add_filter( 'manage_' . $post_type . '_custom_column', array( $this, 'add_return_value' ), 10, 3 ); } } } public function add_css() { ?>