Changeset 46660 for trunk/src/wp-includes/l10n.php
- Timestamp:
- 11/05/2019 09:21:46 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n.php
r46603 r46660 1298 1298 * @param string $dir A directory to search for language files. 1299 1299 * Default WP_LANG_DIR. 1300 * @return arrayAn array of language codes or an empty array if no languages are present. Language codes are formed by stripping the .mo extension from the language file names.1300 * @return string[] An array of language codes or an empty array if no languages are present. Language codes are formed by stripping the .mo extension from the language file names. 1301 1301 */ 1302 1302 function get_available_languages( $dir = null ) { … … 1319 1319 * @since 4.7.0 1320 1320 * 1321 * @param array$languages An array of available language codes.1322 * @param string $dir The directory where the language files were found.1321 * @param string[] $languages An array of available language codes. 1322 * @param string $dir The directory where the language files were found. 1323 1323 */ 1324 1324 return apply_filters( 'get_available_languages', $languages, $dir ); … … 1387 1387 * 1388 1388 * @param string $po_file Path to PO file. 1389 * @return array PO file headers.1389 * @return string[] Array of PO file header values keyed by header name. 1390 1390 */ 1391 1391 function wp_get_pomo_file_data( $po_file ) {
Note: See TracChangeset
for help on using the changeset viewer.