find_core_update [ WordPress Function ]
find_core_update ( $version, $locale )
| Defined at: |
|
Soorgelijke functies: list_core_update, undismiss_core_update, get_core_updates, dismiss_core_update, do_core_upgrade
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
- find_core_update | A HitchHackers guide through WordPress
Feb 11, 2011 ... function find_core_update( $version, $locale ) { $from_api = get_site_transient( ' update_core' ); if ( !is_array( $from_api->updates ) ) return ...
hitchhackerguide.com - find_core_update() WordPress function reference, arguments and ...
function find_core_update( $version, $locale ) { $from_api = get_site_transient( ' update_core' ); if ( !is_array( $from_api->updates ) ) return false; $updates ...
queryposts.com - PHPXRef 0.7 : WordPress : Function Reference: find_core_update()
Function and Method Cross Reference. find_core_update(). Defined at: /wp- admin/includes/update.php -> line 73. Referenced 3 times: ...
phpxref.ftwr.co.uk - /wp-admin/includes/update.php source - PHP Cross Reference ...
Jun 1, 2011... $dismissed ); 71 } 72 73 function find_core_update( $version, $locale ) { 74 $ from_api = get_site_transient( 'update_core' ); 75 if ( !is_array( ...
xref.yoast.com