Documentation

Didn't find anything? Ask your questions in the forum.
Documentation Filters helpful_admin_columns_post_types

helpful_admin_columns_post_types

Help: If you do not know how to execute or save your own PHP code, you can find help here: How to execute PHP code on your WordPress website

Allows to filter the admin columns afterwards, so that columns can be shown in the admin area even if a desired post type is not selected in Helpful settings.

Example for your functions.php:

add_filter( 'helpful_admin_columns_post_types', function ( $post_types ) {
	$post_types[] = 'my_post_type';
	return $post_types;
});

Was this post helpful?