[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
WordPress Translation Installation Administration API
File Size: | 319 lines (11 kb) |
Included or required: | 8 times |
Referenced: | 0 times |
Includes or requires: | 1 file wp-admin/includes/class-wp-upgrader.php |
translations_api( $type, $args = null ) X-Ref |
Retrieve translations from WordPress Translation API. return: array|WP_Error { param: string $type Type of translations. Accepts 'plugins', 'themes', 'core'. param: array|object $args Translation API arguments. Optional. |
wp_get_available_translations() X-Ref |
Get available translations from the WordPress.org API. return: array { |
wp_install_language_form( $languages ) X-Ref |
Output the select form for the language selection on the installation screen. param: array[] $languages Array of available languages (populated via the Translation API). |
wp_download_language_pack( $download ) X-Ref |
Download a language pack. return: string|false Returns the language code if successfully downloaded param: string $download Language code to download. |
wp_can_install_language_pack() X-Ref |
Check if WordPress has access to the filesystem without asking for credentials. return: bool Returns true on success, false on failure. |
Generated : Sat Dec 21 08:20:01 2024 | Cross-referenced by PHPXref |