lang_dir_for_domain

lang_dir_for_domain

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('lang_dir_for_domain') is found 1 times:

  • /wp-includes/class-wp-textdomain-registry.php line 105
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
         * @param string|false $path   Languages directory path for the given domain and locale.
         * @param string       $domain Text domain.
         * @param string       $locale Locale.
         */
        return apply_filters( 'lang_dir_for_domain', $path, $domain, $locale );
    }
     
    /**
     * Determines whether any MO file paths are available for the domain.
     *
     * This is the case if a path has been set for the current locale,