Return array of post types that can be sent as status updates.
add_filter( 'wpt_allowed_post_types', function( array $types, array $post_type_settings ) { // Your code here. return $types; }, 10, 2 );
array
$types
$post_type_settings
apply_filters( 'wpt_allowed_post_types', $allowed_types, $post_type_settings )
← All Hooks
There was an error while loading. Please reload this page.