ac/post_types

The filter ac/post_types filters the post types for which Admin Columns is active. By default, Admin Columns includes all post types that are visible in the admin UI (show_ui) and not marked as a built-in post type (_builtin), plus post and page.

Usage

/**
 * Filter the post types for which Admin Columns is active
 *
 * @param array $post_types List of active post type names
 */
function my_ac_post_types( $post_types ) {

	// Possibly modify $post_types

	return $post_types;
}
add_filter( 'ac/post_types', 'my_ac_post_types' );