/** * @ticket 34010 */ public function test_get_post_types_by_support_non_existant_feature() { $this->assertEqualSets(array(), get_post_types_by_support('somefeature')); }
/** * Return array of allowed post statuses * * @since 0.1.0 * * @return array */ function wp_user_alerts_get_allowed_post_types() { return get_post_types_by_support('alerts'); }