Theme Updater
-
I have read this post, and researching relevant articles. I have seen that some have this:
if (empty($transient->checked)) { return $transient; }
- Is this necessary although I don’t know what it does and why I need it ( the logic ).
- Do the below is all I need for a theme?
$theme = array( 'theme' => 'sun', 'new_version' => '2.0.0', 'url' => 'https://sun.com/updater.php', 'package' => 'https://sun.com/releases.php', 'requires' => '6.0', 'requires_php' => '8.0.0' );
Thank you so much in advanced!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Theme Updater’ is closed to new replies.