Filter: wpt_allowed_post_types

apply_filters( 'wpt_allowed_post_types', $types, $post_type_settings ) → {array}

Return array of post types that can be sent as status updates.

Parameters:
Name Type Description
$types array

Array of post type names enabled for status updates either when editing or publishing.

$post_type_settings array

Multidimensional array of post types and post type settings.

Source:
Returns:
Type
array