wp_theme_update_rows [ WordPress Function ]
wp_theme_update_rows ( No parameters )
| Defined at: |
|
Benzer Fonksiyonlar: wp_theme_update_row, get_theme_updates, list_theme_updates, wp_plugin_update_rows, wp_update_post
No description yet.
Source
<?php
function wp_theme_update_rows() {
if ( !current_user_can('update_themes' ) )
return;
$themes = get_site_transient( 'update_themes' );
if ( isset($themes->response) && is_array($themes->response) ) {
$themes = array_keys( $themes->response );
foreach( $themes as $theme ) {
add_action( "after_theme_row_$theme", 'wp_theme_update_row', 10, 2 );
}
}
}
?>
Examples [ wp-snippets.com ]
Google Arama Sonuçlarý
- PHPXRef 0.7 : WordPress : /wp-admin/includes/update.php source
... Theme_Upgrader(); 241 return $upgrader->upgrade($theme); 242 } 243 244 function wp_theme_update_rows() { 245 if ( !current_user_can('update_themes' ) ...
phpxref.ftwr.co.uk - /wp-admin/includes/update.php source - PHP Cross Reference ...
Jun 1, 2011... 247 } 248 249 function wp_theme_update_rows() { 250 if ... 263 264 function wp_theme_update_row( $theme_key, $theme ) { 265 $current ...
xref.yoast.com - <?php /** * WordPress Administration Update API * * @package ...
'wp-admin/includes/class-wp-upgrader.php'; $upgrader = new Theme_Upgrader( ); return $upgrader->upgrade($theme); } function wp_theme_update_rows() { if ...
core.svn.wordpress.org - A HitchHackers guide through WordPress | Function, Filter & Action ...
in_plugin_update_message-$file. wp_plugin_update_row. in_theme_update_message-$theme_key. wp_theme_update_row ...
hitchhackerguide.com