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

Use tribe_tickets_rewrite_i18n_slugs to modify the final version of the l10n slugs bases

At this stage the method has been applied already and this filter will work with the finalized version of the bases.


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