signup_get_available_languages

signup_get_available_languages

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.8

apply_filters('signup_get_available_languages') is found 1 times:

  • /wp-signup.php line 918
    914
    915
    916
    917
    918
    919
    920
    921
    922
    923
    924
    *
     * @param string[] $languages Array of available language codes. Language codes are formed by
     *                            stripping the .mo extension from the language file names.
     */
    $languages = (array) apply_filters( 'signup_get_available_languages', get_available_languages() );
     
    /*
     * Strip any non-installed languages and return.
     *
     * Re-call get_available_languages() here in case a language pack was installed
     * in a callback hooked to the 'signup_get_available_languages' filter before this point.