Switch language

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




wp_update_theme [ WordPress Function ]

wp_update_theme ( $theme, $feedback = '' )
Defined at:



No description yet.

Source


<?php
function wp_update_theme($theme$feedback '') {
    if ( !empty(
$feedback) )
        
add_filter('update_feedback'$feedback);

    include 
ABSPATH 'wp-admin/includes/class-wp-upgrader.php';
    
$upgrader = new Theme_Upgrader();
    return 
$upgrader->upgrade($theme);
}
?>

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