Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Thomas

Disable completely for posts

Hi,

I need to use custom columns for posts that another plugin adds, Admin Columns Pro doesn’t support them though. Is it possible to completely disable ACP for posts but still use it for other custom post types?

Cheers,
Thomas

4 years, 11 months ago
Stefan van den Dungen Gronovius
Developer

Hi Thomas,

Our plugin should recognize the default columns and they should be listed in the ‘default’ sections. Otherwise, you could create a new column set and click on the ‘restore columns’ button to reset the default columns for the overview. If you don’t save that column set, it should show you the default columns, including the third-party columns. So in this case, you could use that column set just for that plugin and still use other column sets to work with (our) custom columns.

If that workaround does not work for you, you can disable Admin Columns completely by using the following hook.

add_filter( 'ac/post_types', function( $post_types ){
	unset( $post_types['post']);

	return $post_types;
}, 10, 1 );
4 years, 11 months ago

You must be logged in to reply to this topic.