Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




find_core_update [ WordPress Function ]

find_core_update ( $version, $locale )
Defined at:



No description yet.

Source


<?php
function find_core_update$version$locale ) {
    
$from_api get_site_transient'update_core' );
    if ( !
is_array$from_api->updates ) ) return false;
    
$updates $from_api->updates;
    foreach(
$updates as $update) {
        if ( 
$update->current == $version && $update->locale == $locale )
            return 
$update;
    }
    return 
false;
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics