Open Alireza-Ghavabesh opened 3 years ago
Yes, that looks right to me.
Where is the update check time set?
When you call buildUpdateChecker
, you can pass the check interval as the optional fourth argument. For example:
$myUpdateChecker = PucFactory::buildUpdateChecker(
'https://example.com/path/to/details.json',
__FILE__,
'unique-plugin-or-theme-slug',
168
);
i think since it is on hour, i have to set : 7 * 24 = 168 hour no ?