apply_filters( 'tribe_tickets_rewrite_i18n_slugs_raw', array $bases, string $method, array $domains )

Use tribe_tickets_rewrite_i18n_slugs_raw to modify the raw version of the l10n slugs bases.

This is useful to modify the bases before the method is taken into account.


Parameters

$bases

(array) An array of rewrite bases that have been generated.

$method

(string) The method that's being used to generate the bases; defaults to regex.

$domains

(array) An associative array of language domains to use; these would be plugin or themes language domains with a 'plugin-slug' => '/absolute/path/to/lang/dir'


Top ↑

Source

File: src/Tribe/Attendee_Registration/Rewrite.php