Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

wp plugin install through code-part 2

$upgrader = new Plugin_Upgrader( new Quiet_Skin() );

class Quiet_Skin extends WP_Upgrader_Skin {
    public function feedback($string)
    {
        // just keep it quiet
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #wp #plugin #install
ADD COMMENT
Topic
Name
2+7 =