get_available_languages

get_available_languages

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('get_available_languages') is found 1 times:

  • /wp-includes/l10n.php line 1419
    	 *
    	 * @param string[] $languages An array of available language codes.
    	 * @param string   $dir       The directory where the language files were found.
    	 */
    	return apply_filters( 'get_available_languages', $languages, $dir );
    }
    
    /**
     * Gets installed translations.
     *
     * Looks in the wp-content/languages directory for translations of
    

See this hook used in plugins: