feature-theme-gallery.php
Table of Contents
- theme_update() : bool
- Updates the currently selected theme by fetching it from a remote url.
Functions
theme_update()
Updates the currently selected theme by fetching it from a remote url.
theme_update([bool $force_update = false ]) : bool
Parameters
- $force_update : bool = false
-
Whether to force an update - even if we've already updated recently.
Return values
bool —Whether the update was sucessful. It might fail because of network issues, or the theme update requires a newer version of Pepperminty Wiki than is currently installed.