WP_Upgrader_Skin::set_result
Sets the result of an upgrade.
Method of the class: WP_Upgrader_Skin{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WP_Upgrader_Skin = new WP_Upgrader_Skin(); $WP_Upgrader_Skin->set_result( $result );
- $result(string|true|false|WP_Error) (required)
- The result of an upgrade.
Changelog
| Since 2.8.0 | Introduced. |
WP_Upgrader_Skin::set_result() WP Upgrader Skin::set result code WP 6.9
public function set_result( $result ) {
$this->result = $result;
}