wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
wp_get_translation_updates_by_id › WordPress Function
Da7.2.0
Deprecaton/a
› wp_get_translation_updates_by_id ( $updates = null )
| Parametri: |
|
| Ritorna: |
|
| Definito a: |
|
| Codex: |
Gets translation updates keyed by their stable identifiers.
Sorgenti
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;
}