wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
wp_get_translation_updates_by_id › WordPress Function
Seit7.2.0
Veraltetn/v
› wp_get_translation_updates_by_id ( $updates = null )
| Parameter: |
|
| Gibt zurück: |
|
| Definiert in: |
|
| Codex: |
Gets translation updates keyed by their stable identifiers.
Quellcode
function wp_get_translation_updates_by_id( $updates = null ) {
if ( null === $updates ) {
$updates = wp_get_translation_updates();
}
$translation_updates = array();
foreach ( (array) $updates as $update ) {
$translation_updates[ wp_get_translation_update_id( $update ) ] = (object) $update;
}
return $translation_updates;
}